Skip to content

Commit e52b210

Browse files
committed
Composer: allow for PHPCS 4.0 + PHPCompatibility 10.0
As PHPCompatibility now has a `10.0.0-alpha1` tag available which is compatible with PHP_CodeSniffer 4.0, we can update the requirements. Includes tightening up the allowed version of the PHPCS Composer plugin as the `0.7` version is already five years old, so I don't think we still need allow for older versions. Note: ruleset adjustments to allow for PHPCompatibility 10 had already been made ahead of time via PRs 26, 51, 52
1 parent 88e2f12 commit e52b210

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
},
2323
"require" : {
2424
"php" : ">=5.4",
25-
"squizlabs/php_codesniffer" : "^3.13.0",
26-
"phpcompatibility/php-compatibility" : "^9.0.0 || ^10.0.0",
27-
"dealerdirect/phpcodesniffer-composer-installer" : "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0"
25+
"squizlabs/php_codesniffer" : "^3.13.3 || ^4.0.0",
26+
"phpcompatibility/php-compatibility" : "^10.0.0@dev",
27+
"dealerdirect/phpcodesniffer-composer-installer" : "^0.7 || ^1.0"
2828
},
2929
"require-dev" : {
3030
"roave/security-advisories" : "dev-master"

0 commit comments

Comments
 (0)