Skip to content

Commit

Permalink
Composer: tweak PHPCS version constraint
Browse files Browse the repository at this point in the history
Some of the early PHPCS 3.x versions did not support external standards correctly, so using this plugin with those would always run into trouble, so let's just make it explicit that `3.0.0` and `3.0.1` are not supported.

`3.0.2` should be fine, though IIRC, even `3.1.0` contained some fixes for external standard support, so we could choose to up this to `^3.1.0` to be on the safe side.
  • Loading branch information
jrfnl committed Jan 30, 2022
1 parent ab0923f commit e0500cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"require": {
"php": ">=5.3",
"composer-plugin-api": "^1.0 || ^2.0",
"squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0"
"squizlabs/php_codesniffer": "^2.0 || ^3.0.2 || ^4.0"
},
"require-dev": {
"composer/composer": "*",
Expand Down

0 comments on commit e0500cd

Please sign in to comment.