Skip to content

Commit b7738a2

Browse files
committed
Composer: make the version requirement for the PHPCS plugin more flexible
... to prevent conflicts with projects, be it external standards or end-user projects, which require the plugin themselves as well. Note: Version `0.4.0` is excluded from being installed due to a bug which made it far less usable. Ref: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/releases
1 parent ec15089 commit b7738a2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,17 @@
2323
"php" : ">=5.4",
2424
"squizlabs/php_codesniffer" : "^3.0.2",
2525
"phpcompatibility/php-compatibility" : "^9.0.0",
26-
"dealerdirect/phpcodesniffer-composer-installer" : "^0.5"
26+
"dealerdirect/phpcodesniffer-composer-installer" : ">=0.3"
2727
},
2828
"require-dev" : {
2929
"roave/security-advisories" : "dev-master",
3030
"phpunit/phpunit" : "^4.5 || ^5.0 || ^6.0 || ^7.0",
3131
"jakub-onderka/php-parallel-lint": "^1.0",
3232
"jakub-onderka/php-console-highlighter": "^0.4"
3333
},
34+
"conflict": {
35+
"dealerdirect/phpcodesniffer-composer-installer": "0.4.0"
36+
},
3437
"bin": [
3538
"bin/phpcs-check-feature-completeness"
3639
],

0 commit comments

Comments
 (0)