Skip to content

Commit

Permalink
4.0 | Composer: set conflict directive
Browse files Browse the repository at this point in the history
... to prevent the Squiz version of the package and this package being installed together.

Ref:
* https://getcomposer.org/doc/04-schema.md#conflict
  • Loading branch information
jrfnl committed Dec 6, 2023
1 parent 8b5e6e9 commit dc87f0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0"
},
"replace": {
"squizlabs/php_codesniffer": "> 2.0"
"conflict": {
"squizlabs/php_codesniffer": "*"
},
"bin": [
"bin/phpcs",
Expand Down

0 comments on commit dc87f0f

Please sign in to comment.