Skip to content

Commit 364517f

Browse files
committed
PHP 7.2 ruleset: prevent "false" positive when run over the polyfill
Well, not actually a false positive, but code which given the parameters passed can not be corrected. Either way, if PHPCompatibility is run over the polyfill, it shouldn't worry people about this (non-)issue.
1 parent b0c9880 commit 364517f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
<rule ref="PHPCompatibility.Constants.NewConstants.debug_backtrace_ignore_argsFound">
2020
<exclude-pattern>/polyfill-php72/Php72\.php$</exclude-pattern>
2121
</rule>
22+
<rule ref="PHPCompatibility.ParameterValues.NewIconvMbstringCharsetDefault.NotSet">
23+
<exclude-pattern>/polyfill-php72/Php72\.php$</exclude-pattern>
24+
</rule>
2225

2326
</ruleset>

0 commit comments

Comments
 (0)