Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PHPCompatibilitySymfonyPolyfillPHP54/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.4 library.</description>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php54/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php54/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.trait_existsFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.class_usesFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hex2binFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.session_register_shutdownFound"/>

<!-- https://github.com/symfony/polyfill-php54/tree/master/Resources/stubs -->
<!-- https://github.com/symfony/polyfill-php54/tree/main/Resources/stubs -->
<exclude name="PHPCompatibility.Classes.NewClasses.callbackfilteriteratorFound"/>
<exclude name="PHPCompatibility.Classes.NewClasses.recursivecallbackfilteriteratorFound"/>
<exclude name="PHPCompatibility.Interfaces.NewInterfaces.sessionhandlerinterfaceFound"/>
Expand Down
4 changes: 2 additions & 2 deletions PHPCompatibilitySymfonyPolyfillPHP55/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<ruleset name="PHPCompatibilitySymfonyPolyfillPHP55">
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.5 library.</description>

<!-- https://github.com/symfony/polyfill-php55/blob/master/composer.json -->
<!-- https://github.com/symfony/polyfill-php55/blob/main/composer.json -->
<rule ref="PHPCompatibilityPasswordCompat"/>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php55/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php55/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_columnFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.boolvalFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hash_pbkdf2Found"/>
Expand Down
2 changes: 1 addition & 1 deletion PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.6 libary.</description>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php56/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php56/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hash_equalsFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.ldap_escapeFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.ldap_escape_filterFound"/>
Expand Down
6 changes: 3 additions & 3 deletions PHPCompatibilitySymfonyPolyfillPHP70/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<ruleset name="PHPCompatibilitySymfonyPolyfillPHP70">
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.0 library.</description>

<!-- https://github.com/symfony/polyfill-php70/blob/master/composer.json -->
<!-- https://github.com/symfony/polyfill-php70/blob/main/composer.json -->
<rule ref="PHPCompatibilityParagonieRandomCompat"/>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php70/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php70/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.intdivFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.preg_replace_callback_arrayFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.error_clear_lastFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.php_int_minFound"/>

<!-- https://github.com/symfony/polyfill-php70/tree/master/Resources/stubs -->
<!-- https://github.com/symfony/polyfill-php70/tree/main/Resources/stubs -->
<exclude name="PHPCompatibility.Classes.NewClasses.errorFound"/>
<exclude name="PHPCompatibility.Classes.NewClasses.arithmeticerrorFound"/>
<exclude name="PHPCompatibility.Classes.NewClasses.assertionerrorFound"/>
Expand Down
2 changes: 1 addition & 1 deletion PHPCompatibilitySymfonyPolyfillPHP71/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.1 library.</description>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php71/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php71/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.is_iterableFound"/>
</rule>

Expand Down
2 changes: 1 addition & 1 deletion PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.2 library.</description>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php72/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php72/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_digFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_epsilonFound"/>
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_minFound"/>
Expand Down
2 changes: 1 addition & 1 deletion PHPCompatibilitySymfonyPolyfillPHP73/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.3 library.</description>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php73/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php73/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_key_firstFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_key_lastFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hrtimeFound"/>
Expand Down
2 changes: 1 addition & 1 deletion PHPCompatibilitySymfonyPolyfillPHP74/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.4 library.</description>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php74/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php74/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_mangled_object_varsFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.mb_str_splitFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.password_algosFound"/>
Expand Down
4 changes: 2 additions & 2 deletions PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.0 library.</description>

<rule ref="PHPCompatibility">
<!-- https://github.com/symfony/polyfill-php80/blob/master/bootstrap.php -->
<!-- https://github.com/symfony/polyfill-php80/blob/main/bootstrap.php -->
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.fdivFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_resource_idFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.preg_last_error_msgFound"/>
Expand All @@ -13,7 +13,7 @@
<exclude name="PHPCompatibility.Constants.NewConstants.filter_validate_boolFound"/>
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_debug_typeFound"/>

<!-- https://github.com/symfony/polyfill-php80/tree/master/Resources/stubs -->
<!-- https://github.com/symfony/polyfill-php80/tree/main/Resources/stubs -->
<exclude name="PHPCompatibility.Interfaces.NewInterfaces.stringableFound"/>
<exclude name="PHPCompatibility.Classes.NewClasses.attributeFound"/>
<exclude name="PHPCompatibility.Classes.NewClasses.phptokenFound"/>
Expand Down