Skip to content

Commit 12de4c5

Browse files
committed
MC-16317: Remove unnecessary sniffs for phtml files
1 parent 226ce2f commit 12de4c5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,25 @@
1515
<exclude-pattern>*/Test/*</exclude-pattern>
1616
<exclude-pattern>*Test.php</exclude-pattern>
1717
</rule>
18+
<rule ref="Magento2.Files.LineLength.MaxExceeded">
19+
<exclude-pattern>*.phtml</exclude-pattern>
20+
</rule>
21+
<rule ref="Squiz.Operators.IncrementDecrementUsage">
22+
<exclude-pattern>*.phtml</exclude-pattern>
23+
</rule>
24+
<rule ref="PEAR.ControlStructures.ControlSignature">
25+
<exclude-pattern>*.phtml</exclude-pattern>
26+
</rule>
27+
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace">
28+
<exclude-pattern>*.phtml</exclude-pattern>
29+
</rule>
30+
<rule ref="PEAR.Functions.FunctionCallSignature">
31+
<exclude-pattern>*.phtml</exclude-pattern>
32+
</rule>
33+
<rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
34+
<exclude-pattern>*.phtml</exclude-pattern>
35+
</rule>
36+
<rule ref="Magento2.Security.LanguageConstruct.DirectOutput">
37+
<exclude-pattern>*.phtml</exclude-pattern>
38+
</rule>
1839
</ruleset>

0 commit comments

Comments
 (0)