Skip to content

Commit 864ec19

Browse files
jrfnlgrogy
authored andcommitted
Composer: allow for the 1.0.0 version of the Composer PHPCS plugin
The Composer PHPCS plugin has released its 1.0.0 version. 🎉 Important: I've _widened_ the version constraints for the plugin, instead of _bumping_ it. The reason for this is to prevent conflicts with end-user projects/other external PHPCS standards which may also require(-dev) the plugin, but may not (yet) have updated _their_ constraints for the plugin. If the version would have been bumped instead of widened, those users would get an unsolvable conflict during the `composer install` run (unless they `require-dev` the plugin for the root project, but then, that's exactly what we _don't_ want them to do as external standards managing the versions of the plugins should be more reliable). Ref: https://github.com/PHPCSStandards/composer-installer/releases/tag/v1.0.0
1 parent 766b025 commit 864ec19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"jakub-onderka/php-code-style": "*"
1515
},
1616
"require": {
17-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
17+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0",
1818
"phpcompatibility/php-compatibility": "^9.3",
1919
"squizlabs/php_codesniffer": "^3.6.1"
2020
},

0 commit comments

Comments
 (0)