Skip to content

Commit

Permalink
Merge pull request #13 from PHPCompatibility/feature/php72-ruleset-is…
Browse files Browse the repository at this point in the history
…sue-prevention

PHP 7.2 ruleset: prevent "false" positive when run over the polyfill
  • Loading branch information
wimg authored Sep 5, 2019
2 parents f9112d1 + 364517f commit 5a731b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
<rule ref="PHPCompatibility.Constants.NewConstants.debug_backtrace_ignore_argsFound">
<exclude-pattern>/polyfill-php72/Php72\.php$</exclude-pattern>
</rule>
<rule ref="PHPCompatibility.ParameterValues.NewIconvMbstringCharsetDefault.NotSet">
<exclude-pattern>/polyfill-php72/Php72\.php$</exclude-pattern>
</rule>

</ruleset>

0 comments on commit 5a731b6

Please sign in to comment.