Skip to content

Commit

Permalink
Sodium Compat ruleset: prevent triggering on the polyfill
Browse files Browse the repository at this point in the history
This is for a new class which was added to Sodium_Compat 1.x.
  • Loading branch information
jrfnl committed Apr 24, 2024
1 parent c6dd222 commit 93a3376
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PHPCompatibilityParagonieSodiumCompat/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
</rule>
<rule ref="PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__debuginfoFound">
<exclude-pattern>/sodium_compat/src/Core(32)?/Curve25519/Fe\.php$</exclude-pattern>
<exclude-pattern>/sodium_compat/src/Core/AES/Block\.php$</exclude-pattern>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctions.hash_equalsFound">
<exclude-pattern>/sodium_compat/src/Core/Util\.php$</exclude-pattern>
Expand Down

0 comments on commit 93a3376

Please sign in to comment.