Skip to content

Commit

Permalink
Static tests: forbid 'or' instead of '||' magento#21062.
Browse files Browse the repository at this point in the history
Added Squiz.Operators.ValidLogicalOperators rule
  • Loading branch information
Maksym Novik committed Mar 1, 2019
1 parent 6ddfc58 commit 9f0ef59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/tests/static/framework/Magento/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@

<rule ref="Squiz.Commenting.DocCommentAlignment"/>
<rule ref="Squiz.Functions.GlobalFunction"/>
<rule ref="Squiz.Operators.ValidLogicalOperators"/>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
</ruleset>

0 comments on commit 9f0ef59

Please sign in to comment.