Skip to content

Commit 66f7acf

Browse files
authored
Merge pull request #39 from PHPCompatibility/feature/rulesets-docs
Rulesets: minor inline documentation update
2 parents eb694b1 + 05a2bdf commit 66f7acf

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

PHPCompatibilitySymfonyPolyfillPHP54/ruleset.xml

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

55
<rule ref="PHPCompatibility">
6-
<!-- https://github.com/symfony/polyfill-php54/blob/master/bootstrap.php -->
6+
<!-- https://github.com/symfony/polyfill-php54/blob/main/bootstrap.php -->
77
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.trait_existsFound"/>
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.class_usesFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hex2binFound"/>
1010
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.session_register_shutdownFound"/>
1111

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

PHPCompatibilitySymfonyPolyfillPHP55/ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<ruleset name="PHPCompatibilitySymfonyPolyfillPHP55">
33
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 5.5 library.</description>
44

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

88
<rule ref="PHPCompatibility">
9-
<!-- https://github.com/symfony/polyfill-php55/blob/master/bootstrap.php -->
9+
<!-- https://github.com/symfony/polyfill-php55/blob/main/bootstrap.php -->
1010
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_columnFound"/>
1111
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.boolvalFound"/>
1212
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hash_pbkdf2Found"/>

PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml

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

55
<rule ref="PHPCompatibility">
6-
<!-- https://github.com/symfony/polyfill-php56/blob/master/bootstrap.php -->
6+
<!-- https://github.com/symfony/polyfill-php56/blob/main/bootstrap.php -->
77
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hash_equalsFound"/>
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.ldap_escapeFound"/>
99
<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
@@ -2,17 +2,17 @@
22
<ruleset name="PHPCompatibilitySymfonyPolyfillPHP70">
33
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.0 library.</description>
44

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

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

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

PHPCompatibilitySymfonyPolyfillPHP71/ruleset.xml

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

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

PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml

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

55
<rule ref="PHPCompatibility">
6-
<!-- https://github.com/symfony/polyfill-php72/blob/master/bootstrap.php -->
6+
<!-- https://github.com/symfony/polyfill-php72/blob/main/bootstrap.php -->
77
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_digFound"/>
88
<exclude name="PHPCompatibility.Constants.NewConstants.php_float_epsilonFound"/>
99
<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
@@ -3,7 +3,7 @@
33
<description>PHPCompatibility ruleset for PHP_CodeSniffer which accounts for polyfills provided by the Symfony PHP 7.3 library.</description>
44

55
<rule ref="PHPCompatibility">
6-
<!-- https://github.com/symfony/polyfill-php73/blob/master/bootstrap.php -->
6+
<!-- https://github.com/symfony/polyfill-php73/blob/main/bootstrap.php -->
77
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_key_firstFound"/>
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.array_key_lastFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.hrtimeFound"/>

PHPCompatibilitySymfonyPolyfillPHP74/ruleset.xml

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

55
<rule ref="PHPCompatibility">
6-
<!-- https://github.com/symfony/polyfill-php74/blob/master/bootstrap.php -->
6+
<!-- https://github.com/symfony/polyfill-php74/blob/main/bootstrap.php -->
77
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_mangled_object_varsFound"/>
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.mb_str_splitFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.password_algosFound"/>

PHPCompatibilitySymfonyPolyfillPHP80/ruleset.xml

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

55
<rule ref="PHPCompatibility">
6-
<!-- https://github.com/symfony/polyfill-php80/blob/master/bootstrap.php -->
6+
<!-- https://github.com/symfony/polyfill-php80/blob/main/bootstrap.php -->
77
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.fdivFound"/>
88
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_resource_idFound"/>
99
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.preg_last_error_msgFound"/>
@@ -13,7 +13,7 @@
1313
<exclude name="PHPCompatibility.Constants.NewConstants.filter_validate_boolFound"/>
1414
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.get_debug_typeFound"/>
1515

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

0 commit comments

Comments
 (0)