Skip to content

Commit 9f0ef59

Browse files
author
Maksym Novik
committed
Static tests: forbid 'or' instead of '||' #21062.
Added Squiz.Operators.ValidLogicalOperators rule
1 parent 6ddfc58 commit 9f0ef59

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
@@ -25,5 +25,6 @@
2525

2626
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
2727
<rule ref="Squiz.Functions.GlobalFunction"/>
28+
<rule ref="Squiz.Operators.ValidLogicalOperators"/>
2829
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
2930
</ruleset>

0 commit comments

Comments
 (0)