Skip to content

Commit 23f415a

Browse files
author
Maksym Novik
committed
Static tests: forbid 'or' instead of '||' #21062.
Added Squiz.Operators.ValidLogicalOperators rule
1 parent 310648c commit 23f415a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tests/static/framework/Magento/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@
8484

8585
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
8686
<rule ref="Squiz.Functions.GlobalFunction"/>
87+
<rule ref="Squiz.Operators.ValidLogicalOperators"/>
8788
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
8889
</ruleset>

0 commit comments

Comments
 (0)