Skip to content

Commit f9d971a

Browse files
authored
Merge pull request #13 from PHPCompatibility/feature/sodium-ruleset-fix-one-more-false-positive
Ruleset: prevent false positives on sodium_compat polyfill code
2 parents 820bf1d + b1c0688 commit f9d971a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PHPCompatibilityParagonieSodiumCompat/ruleset.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,8 @@
184184
<rule ref="PHPCompatibility.FunctionUse.NewFunctions.sodium_memzeroFound">
185185
<exclude-pattern>/sodium_compat/src/Compat\.php$</exclude-pattern>
186186
</rule>
187+
<rule ref="PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated">
188+
<exclude-pattern>/sodium_compat/src/Core/Util\.php$</exclude-pattern>
189+
</rule>
187190

188191
</ruleset>

0 commit comments

Comments
 (0)