diff --git a/PHPCompatibilitySymfonyPolyfillPHP54/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP54/ruleset.xml index a25b1ea..bcd4019 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP54/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP54/ruleset.xml @@ -4,13 +4,13 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.4 library. - + - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP55/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP55/ruleset.xml index 126c89d..7885e18 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP55/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP55/ruleset.xml @@ -3,11 +3,11 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.5 library. - + - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml index 203d715..e8cb3cb 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.6 libary. - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP70/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP70/ruleset.xml index fc1907c..d8fb189 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP70/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP70/ruleset.xml @@ -3,17 +3,17 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.0 library. - + - + - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP71/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP71/ruleset.xml index 15a4248..96bcf07 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP71/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP71/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.1 library. - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml index c5fc9a8..c6e128b 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.2 library. - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP73/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP73/ruleset.xml index fcc7225..f9e7add 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP73/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP73/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.3 library. - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP74/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP74/ruleset.xml index fc13d9e..c954dbf 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP74/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP74/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.4 library. - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml index 338c2ab..09e81d4 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.0 library. - + @@ -14,7 +14,7 @@ - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP81/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP81/ruleset.xml index b782358..ed215bc 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP81/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP81/ruleset.xml @@ -4,13 +4,13 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.1 library. - + - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP82/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP82/ruleset.xml index 7ad4bdb..09d3626 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP82/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP82/ruleset.xml @@ -4,19 +4,19 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.2 library. - + - + - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP83/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP83/ruleset.xml index 3562500..f8d76e0 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP83/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP83/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.3 library. - + @@ -13,9 +13,9 @@ - + diff --git a/PHPCompatibilitySymfonyPolyfillPHP84/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP84/ruleset.xml index 305a805..9e4381b 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP84/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP84/ruleset.xml @@ -4,7 +4,7 @@ PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.4 library. - + @@ -20,7 +20,7 @@ - + + /polyfill-php84/Php84\.php$ diff --git a/README.md b/README.md index 5655b27..dad24a4 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ These rulesets prevent false positives from the [PHPCompatibility standard][PHPC > Some polyfills have other polyfills as dependencies. If the PHPCompatibility project offers a dedicated ruleset for the polyfill dependency, that ruleset will be included in the ruleset for the higher level polyfill. > > For example: -> As the `polyfill-php70` library declares `random_compat` [as a dependency](https://github.com/symfony/polyfill-php70/blob/master/composer.json), the `PHPCompatibilitySymfonyPolyfillPHP70` ruleset includes the `PHPCompatibilityParagonieRandomCompat` ruleset. +> As the `polyfill-php70` library declares `random_compat` [as a dependency](https://github.com/symfony/polyfill-php70/blob/v1.19.0/composer.json), the `PHPCompatibilitySymfonyPolyfillPHP70` ruleset includes the `PHPCompatibilityParagonieRandomCompat` ruleset. > > In practice, this means that if your project uses several polyfills, you can use the information in "Includes" to help you decide which rulesets to use.