Skip to content

Commit

Permalink
Static tests: forbid 'or' instead of '||' #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 310648c commit 23f415a
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 @@ -84,5 +84,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 23f415a

Please sign in to comment.