@@ -18,11 +18,9 @@ This WordPress specific ruleset prevents false positives from the [PHPCompatibil
1818## Requirements
1919
2020* [ PHP_CodeSniffer] ( https://github.com/PHPCSStandards/PHP_CodeSniffer ) .
21- * PHP 5.3+ for use with [ PHP_CodeSniffer] ( https://github.com/PHPCSStandards/PHP_CodeSniffer ) 2.3.0+.
22- * PHP 5.4+ for use with [ PHP_CodeSniffer] ( https://github.com/PHPCSStandards/PHP_CodeSniffer ) 3.0.2+.
21+ * PHP 5.4+ for use with [ PHP_CodeSniffer] ( https://github.com/PHPCSStandards/PHP_CodeSniffer ) 3.3.0+.
2322
2423 Use the latest stable release of PHP_CodeSniffer for the best results.
25- The minimum _ recommended_ version of PHP_CodeSniffer is version 2.6.0.
2624* [ PHPCompatibility] ( https://github.com/PHPCompatibility/PHPCompatibility ) 9.0.0+.
2725* [ PHPCompatibilityParagonie] ( https://github.com/PHPCompatibility/PHPCompatibilityParagonie ) 1.0.0+.
2826
@@ -34,7 +32,7 @@ The only supported installation method is via [Composer](https://getcomposer.org
3432If you don't have a Composer plugin installed to manage the ` installed_paths ` setting for PHP_CodeSniffer, run the following from the command-line:
3533``` bash
3634composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
37- composer require --dev dealerdirect/phpcodesniffer-composer-installer:" ^0.7 " phpcompatibility/phpcompatibility-wp:" *"
35+ composer require --dev dealerdirect/phpcodesniffer-composer-installer:" ^1.0 " phpcompatibility/phpcompatibility-wp:" *"
3836```
3937
4038If you already have a Composer PHP_CodeSniffer plugin installed, run:
@@ -85,6 +83,11 @@ All code within the PHPCompatibility organisation is released under the GNU Less
8583
8684## Changelog
8785
86+ ### 2.1.7 - 2025-05-12
87+
88+ - Composer: The minimum supported version of PHP_CodeSniffer has been raised to 3.3.0.
89+ - Ruleset: Updated for compatibility with PHP_CodeSniffer 4.0+.
90+
8891### 2.1.6 - 2025-01-16
8992
9093- README: Fixed some broken badges.
0 commit comments