Skip to content

Commit 9bc5686

Browse files
committed
Update suggested version of Composer PHPCS plugin
The DealerDirect Composer plugin has just released version `0.6.0`. As Composer treats minors < 1.0 as majors, updating to this version requires an update to the `composer.json` requirements. > For pre-1.0 versions it also acts with safety in mind and treats ^0.3 as >=0.3.0 <0.4.0. Refs: * https://github.com/Dealerdirect/phpcodesniffer-composer-installer/releases/tag/v0.6.0 * https://getcomposer.org/doc/articles/versions.md#caret-version-range-
1 parent b97ec66 commit 9bc5686

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
@@ -32,7 +32,7 @@ The only supported installation method is via [Composer](https://getcomposer.org
3232

3333
If you don't have a Composer plugin installed to manage the `installed_paths` setting for PHP_CodeSniffer, run the following from the command-line:
3434
```bash
35-
composer require --dev dealerdirect/phpcodesniffer-composer-installer:^0.5.0 phpcompatibility/phpcompatibility-passwordcompat:*
35+
composer require --dev dealerdirect/phpcodesniffer-composer-installer:^0.6 phpcompatibility/phpcompatibility-passwordcompat:*
3636
composer install
3737
```
3838

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"phpcompatibility/php-compatibility" : "^9.0"
2222
},
2323
"require-dev" : {
24-
"dealerdirect/phpcodesniffer-composer-installer": "^0.5",
24+
"dealerdirect/phpcodesniffer-composer-installer": "^0.6",
2525
"ircmaxell/password-compat": "dev-master"
2626
},
2727
"suggest" : {
28-
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
28+
"dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
2929
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
3030
},
3131
"prefer-stable" : true

0 commit comments

Comments
 (0)