Skip to content

Commit a8b3078

Browse files
committed
Composer: raise the minimum supported versions of all CS dependencies
... to benefit from new functionality and to ensure all minimum versions are versions compatible with PHPCS 4.0 (in so far as currently available - VariableAnalysis, WordPressCS and PHPCompatibility are not yet compatible with PHPCS 4.0). Includes updating the README which was missed for the previous Composer update. Refs: * https://github.com/PHPCSStandards/PHPCSUtils/releases * https://github.com/PHPCSStandards/PHP_CodeSniffer/releases * https://github.com/PHPCSStandards/PHPCSExtra/releases * https://github.com/sirbrillig/phpcs-variable-analysis/releases * https://github.com/PHPCSStandards/PHPCSDevTools/releases * https://github.com/WordPress/WordPress-Coding-Standards/releases
1 parent fd041e4 commit a8b3078

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ The rulesets use rules from the [WordPress Coding Standards](https://github.com/
1616
## Minimal requirements
1717

1818
* PHP 5.4+
19-
* [PHPCS 3.8.0+](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
20-
* [PHPCSUtils 1.0.9+](https://github.com/PHPCSStandards/PHPCSUtils)
21-
* [PHPCSExtra 1.2.1+](https://github.com/PHPCSStandards/PHPCSExtra)
22-
* [WPCS 3.0.0+](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/releases)
23-
* [VariableAnalysis 2.11.17+](https://github.com/sirbrillig/phpcs-variable-analysis/releases)
19+
* [PHPCS 3.13.2+](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
20+
* [PHPCSUtils 1.1.0+](https://github.com/PHPCSStandards/PHPCSUtils)
21+
* [PHPCSExtra 1.4.0+](https://github.com/PHPCSStandards/PHPCSExtra)
22+
* [WPCS 3.1.0+](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/releases)
23+
* [VariableAnalysis 2.12.0+](https://github.com/sirbrillig/phpcs-variable-analysis/releases)
2424

2525
## Installation
2626

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
],
1818
"require": {
1919
"php": ">=5.4",
20-
"phpcsstandards/phpcsextra": "^1.2.1",
21-
"phpcsstandards/phpcsutils": "^1.0.11",
22-
"sirbrillig/phpcs-variable-analysis": "^2.11.18",
23-
"squizlabs/php_codesniffer": "^3.9.2",
24-
"wp-coding-standards/wpcs": "^3.1.0"
20+
"phpcsstandards/phpcsextra": "^1.4.0",
21+
"phpcsstandards/phpcsutils": "^1.1.0",
22+
"sirbrillig/phpcs-variable-analysis": "^2.12.0",
23+
"squizlabs/php_codesniffer": "^3.13.2",
24+
"wp-coding-standards/wpcs": "^3.2.0"
2525
},
2626
"require-dev": {
2727
"php-parallel-lint/php-parallel-lint": "^1.4.0",
2828
"php-parallel-lint/php-console-highlighter": "^1.0.0",
2929
"phpcompatibility/php-compatibility": "^9",
30-
"phpcsstandards/phpcsdevtools": "^1.0",
30+
"phpcsstandards/phpcsdevtools": "^1.2.3",
3131
"phpunit/phpunit": "^4 || ^5 || ^6 || ^7 || ^8 || ^9"
3232
},
3333
"config": {

0 commit comments

Comments
 (0)