Skip to content

Commit 87c6153

Browse files
authored
Merge pull request #1853 from jrfnl/feature/composer-update-dependency-suggestion
Update suggested version of Composer PHPCS plugin
2 parents b82bc3e + 63dc643 commit 87c6153

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ When installing the WordPress Coding Standards as a dependency in a larger proje
8282

8383
There are two actively maintained Composer plugins which can handle the registration of standards with PHP_CodeSniffer for you:
8484
* [composer-phpcodesniffer-standards-plugin](https://github.com/higidi/composer-phpcodesniffer-standards-plugin)
85-
* [phpcodesniffer-composer-installer](https://github.com/DealerDirect/phpcodesniffer-composer-installer):"^0.5.0"
85+
* [phpcodesniffer-composer-installer](https://github.com/DealerDirect/phpcodesniffer-composer-installer):"^0.6"
8686

8787
It is strongly suggested to `require` one of these plugins in your project to handle the registration of external standards with PHPCS for you.
8888

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"squizlabs/php_codesniffer": "^3.3.1"
2020
},
2121
"require-dev": {
22-
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
22+
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
2323
"phpcompatibility/php-compatibility": "^9.0",
2424
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
2525
},
2626
"suggest": {
27-
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
27+
"dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
2828
},
2929
"minimum-stability": "RC",
3030
"scripts": {

0 commit comments

Comments
 (0)