Skip to content

Commit c2d8549

Browse files
authored
Merge pull request #72 from PHPCompatibility/feature/rulesets-readme-fix-links
Fix links after upstream branch rename
2 parents 1314ceb + f36ca97 commit c2d8549

File tree

14 files changed

+26
-26
lines changed

14 files changed

+26
-26
lines changed

PHPCompatibilitySymfonyPolyfillPHP54/ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.4 library.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php54/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php54/blob/v1.19.0/bootstrap.php -->
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.trait_existsFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.class_usesFound"/>
1010
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hex2binFound"/>
1111
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.session_register_shutdownFound"/>
1212

13-
<!-- https://github.com/symfony/polyfill-php54/tree/main/Resources/stubs -->
13+
<!-- https://github.com/symfony/polyfill-php54/tree/v1.19.0/Resources/stubs -->
1414
<exclude name="PHPCompatibility.Classes.NewClasses.callbackfilteriteratorFound"/>
1515
<exclude name="PHPCompatibility.Classes.NewClasses.recursivecallbackfilteriteratorFound"/>
1616
<exclude name="PHPCompatibility.Interfaces.NewInterfaces.sessionhandlerinterfaceFound"/>

PHPCompatibilitySymfonyPolyfillPHP55/ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.5 library.</description>
55

6-
<!-- https://github.com/symfony/polyfill-php55/blob/main/composer.json -->
6+
<!-- https://github.com/symfony/polyfill-php55/blob/v1.19.0/composer.json -->
77
<rule ref="PHPCompatibilityPasswordCompat"/>
88

99
<rule ref="PHPCompatibility">
10-
<!-- https://github.com/symfony/polyfill-php55/blob/main/bootstrap.php -->
10+
<!-- https://github.com/symfony/polyfill-php55/blob/v1.19.0/bootstrap.php -->
1111
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_columnFound"/>
1212
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.boolvalFound"/>
1313
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hash_pbkdf2Found"/>

PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.6 libary.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php56/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php56/blob/v1.19.0/bootstrap.php -->
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hash_equalsFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.ldap_escapeFound"/>
1010
<exclude name="PHPCompatibility.Constants.NewConstants.ldap_escape_filterFound"/>

PHPCompatibilitySymfonyPolyfillPHP70/ruleset.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.0 library.</description>
55

6-
<!-- https://github.com/symfony/polyfill-php70/blob/main/composer.json -->
6+
<!-- https://github.com/symfony/polyfill-php70/blob/v1.19.0/composer.json -->
77
<rule ref="PHPCompatibilityParagonieRandomCompat"/>
88

99
<rule ref="PHPCompatibility">
10-
<!-- https://github.com/symfony/polyfill-php70/blob/main/bootstrap.php -->
10+
<!-- https://github.com/symfony/polyfill-php70/blob/v1.19.0/bootstrap.php -->
1111
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.intdivFound"/>
1212
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.preg_replace_callback_arrayFound"/>
1313
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.error_clear_lastFound"/>
1414
<exclude name="PHPCompatibility.Constants.NewConstants.php_int_minFound"/>
1515

16-
<!-- https://github.com/symfony/polyfill-php70/tree/main/Resources/stubs -->
16+
<!-- https://github.com/symfony/polyfill-php70/tree/v1.19.0/Resources/stubs -->
1717
<exclude name="PHPCompatibility.Classes.NewClasses.errorFound"/>
1818
<exclude name="PHPCompatibility.Classes.NewClasses.arithmeticerrorFound"/>
1919
<exclude name="PHPCompatibility.Classes.NewClasses.assertionerrorFound"/>

PHPCompatibilitySymfonyPolyfillPHP71/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.1 library.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php71/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php71/blob/v1.19.0/bootstrap.php -->
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.is_iterableFound"/>
99
</rule>
1010

PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.2 library.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php72/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php72/blob/v1.30.0/bootstrap.php -->
88
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_digFound"/>
99
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_epsilonFound"/>
1010
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_minFound"/>

PHPCompatibilitySymfonyPolyfillPHP73/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.3 library.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php73/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php73/blob/1.x/bootstrap.php -->
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_key_firstFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_key_lastFound"/>
1010
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hrtimeFound"/>

PHPCompatibilitySymfonyPolyfillPHP74/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.4 library.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php74/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php74/blob/1.x/bootstrap.php -->
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_mangled_object_varsFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.mb_str_splitFound"/>
1010
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.password_algosFound"/>

PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.0 library.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php80/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php80/blob/1.x/bootstrap.php -->
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.fdivFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_resource_idFound"/>
1010
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.preg_last_error_msgFound"/>
@@ -14,7 +14,7 @@
1414
<exclude name="PHPCompatibility.Constants.NewConstants.filter_validate_boolFound"/>
1515
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_debug_typeFound"/>
1616

17-
<!-- https://github.com/symfony/polyfill-php80/tree/main/Resources/stubs -->
17+
<!-- https://github.com/symfony/polyfill-php80/tree/1.x/Resources/stubs -->
1818
<exclude name="PHPCompatibility.Interfaces.NewInterfaces.stringableFound"/>
1919
<exclude name="PHPCompatibility.Classes.NewClasses.attributeFound"/>
2020
<exclude name="PHPCompatibility.Classes.NewClasses.phptokenFound"/>

PHPCompatibilitySymfonyPolyfillPHP81/ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 8.1 library.</description>
55

66
<rule ref="PHPCompatibility">
7-
<!-- https://github.com/symfony/polyfill-php81/blob/main/bootstrap.php -->
7+
<!-- https://github.com/symfony/polyfill-php81/blob/1.x/bootstrap.php -->
88
<exclude name="PHPCompatibility.Constants.NewConstants.mysqli_refresh_replicaFound"/>
99
<exclude name="PHPCompatibility.Constants.RemovedConstants.mysqli_refresh_replicaDeprecated"/>
1010
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_is_listFound"/>
1111
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.enum_existsFound"/>
1212

13-
<!-- https://github.com/symfony/polyfill-php81/tree/main/Resources/stubs -->
13+
<!-- https://github.com/symfony/polyfill-php81/tree/1.x/Resources/stubs -->
1414
<exclude name="PHPCompatibility.Classes.NewClasses.curlstringfileFound"/>
1515
</rule>
1616

0 commit comments

Comments
 (0)