Skip to content

Commit

Permalink
Allow for Sodium_Compat (#13)
Browse files Browse the repository at this point in the history
Allow for Sodium_Compat
  • Loading branch information
GaryJones authored Aug 6, 2019
2 parents 5e5327a + 98eb54c commit 19c6a14
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions PHPCompatibilityWP/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@
<exclude name="PHPCompatibility.FunctionUse.NewFunctions.spl_autoload_functionsFound"/>
</rule>

<!-- Contained in /wp-includes/random_compat/ -->
<rule ref="PHPCompatibilityParagonieRandomCompat"/>
<!--
The ParagonieSodiumCompat ruleset includes the ParagonieRandomCompat ruleset.
RancomCompat is contained in /wp-includes/random_compat/ since WP 4.4.0
SodiumCompat is contained in /wp-includes/sodium_compat/ since WP 5.2.0
-->
<rule ref="PHPCompatibilityParagonieSodiumCompat"/>

<!-- Whitelist the WP Core mysql_to_rfc3339() function. -->
<rule ref="PHPCompatibility.Extensions.RemovedExtensions">
Expand Down

0 comments on commit 19c6a14

Please sign in to comment.