Skip to content

Commit

Permalink
allow or as logical operator (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence authored Jul 5, 2024
1 parent fabb264 commit 5008d74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Pantheon-WP-Minimum/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
<type>error</type>
<message>eval() is a security risk and is not allowed.</message>
</rule>
<rule ref="Squiz.Operators.ValidLogicalOperators">
<exclude name="Squiz.Operators.ValidLogicalOperators.NotAllowed" />
</rule>

<!-- Disallow create_function() -->
<rule ref="WordPress.PHP.RestrictedPHPFunctions"/>
Expand Down

0 comments on commit 5008d74

Please sign in to comment.