Skip to content

Commit

Permalink
Revert "Lower the "and" and "or" uses down from error to warning"
Browse files Browse the repository at this point in the history
This reverts commit c85e30f.

Fixes moodlehq#5.
  • Loading branch information
stronk7 committed Aug 10, 2023
1 parent 9ec28ac commit 597c5b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions moodle/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@
<rule ref="Squiz.Functions.LowercaseFunctionKeywords"/>
<rule ref="PSR2.Methods.MethodDeclaration"/>

<rule ref="Squiz.Operators.ValidLogicalOperators">
<type>warning</type>
</rule>
<rule ref="Squiz.Operators.ValidLogicalOperators"/>

<rule ref="Squiz.PHP.LowercasePHPFunctions"/>
<rule ref="Squiz.PHP.CommentedOutCode">
Expand Down

0 comments on commit 597c5b1

Please sign in to comment.