Skip to content

Commit

Permalink
update phpcompatibility and codesniffer (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
smoucka authored Nov 18, 2024
1 parent 768cdfc commit 6d16788
Show file tree
Hide file tree
Showing 2 changed files with 444 additions and 197 deletions.
9 changes: 6 additions & 3 deletions composer.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@
"mockery/mockery": "^1.5",
"10up/wp_mock": "^0.5.0",
"yoast/phpunit-polyfills": "^1.0",
"squizlabs/php_codesniffer": "^3.7.1",
"phpcompatibility/php-compatibility": "^9.3.5"
"squizlabs/php_codesniffer": "^3.11.0",
"phpcompatibility/php-compatibility": "dev-develop"
},
"scripts": {
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility"
},
"config": {
"optimize-autoloader": true
"optimize-autoloader": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false
}
}
}
Loading

0 comments on commit 6d16788

Please sign in to comment.