Skip to content

Commit 13ebfcd

Browse files
committed
Ignore
1 parent 1ea3525 commit 13ebfcd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

PHPCompatibilitySymfonyPolyfillPHP56/ruleset.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,11 @@
1111
<exclude name="PHPCompatibility.Constants.NewConstants.ldap_escape_dnFound"/>
1212
</rule>
1313

14+
<!-- Prevent false positives being thrown when run over the code of polyfill-util itself. -->
15+
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.strrchr_before_needleFound">
16+
<!-- This looks to be a bug in the polyfill code, but probably pretty much an edge case
17+
and if it hasn't been reported to Symfony so far, leave it be. -->
18+
<exclude-pattern>/polyfill-util/BinaryNoFuncOverload\.php$</exclude-pattern>
19+
</rule>
20+
1421
</ruleset>

0 commit comments

Comments
 (0)