Skip to content

Commit

Permalink
Merge pull request #40 from novikor/New-Rule-The-use-of-literal-logic…
Browse files Browse the repository at this point in the history
…al-operators-MUST-be-avoided-23

[New Rule] The use of literal logical operators MUST be avoided #23.
  • Loading branch information
lenaorobei authored Feb 19, 2019
2 parents 8d49073 + 0417217 commit da890a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Magento/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@
<severity>6</severity>
<type>warning</type>
</rule>
<rule ref="Squiz.Operators.ValidLogicalOperators">
<severity>6</severity>
<type>warning</type>
</rule>
<rule ref="Squiz.Functions.GlobalFunction">
<severity>8</severity>
</rule>
Expand Down

0 comments on commit da890a4

Please sign in to comment.