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 2, 2023
1 parent bafca7e commit 3758b0c
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 @@ -42,8 +42,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 3758b0c

Please sign in to comment.