Skip to content

Commit c3ab245

Browse files
authored
Composer: remove the Composer PHPCS plugin (#185)
The Dealerdirect Composer PHPCS plugin is already a (non-dev) requirement of PHPCSUtils, so will be installed whether you require it or not. By removing it from the `composer.json` file, potential conflicts between the versions allowed by PHPCSUtils and this plugin are prevented. Note: The plugin has released a new version last week and the new version of PHPCSUtils which was also released a few days back, already allows for it. The new version of the plugin includes support for Composer 2.0 and allows for testing standards with the plugin on PHP 8 and with PHPCS 4.x-dev. Ref: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/releases/tag/v0.7.0 Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
1 parent 52056c3 commit c3ab245

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"phpcsstandards/phpcsutils": "^1.0"
4545
},
4646
"require-dev": {
47-
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4 || ^0.5 || ^0.6",
4847
"phpunit/phpunit": "^5.0 || ^6.5 || ^7.0 || ^8.0",
4948
"sirbrillig/phpcs-import-detection": "^1.1",
5049
"limedeck/phpunit-detailed-printer": "^3.1 || ^4.0 || ^5.0",

0 commit comments

Comments
 (0)