Skip to content

Commit ca7edf9

Browse files
committed
Exclude DisallowShortOpenTag from .yml files
1 parent 6b2edff commit ca7edf9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

coder_sniffer/Drupal/ruleset.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@
6363
<rule ref="Generic.NamingConventions.ConstructorName"/>
6464
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
6565
<rule ref="Generic.PHP.DeprecatedFunctions"/>
66-
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
66+
<rule ref="Generic.PHP.DisallowShortOpenTag">
67+
<!-- Do not run this sniff on .yml files -->
68+
<exclude-pattern>**/*.yml</exclude-pattern>
69+
</rule>
6770
<rule ref="Generic.PHP.LowerCaseKeyword"/>
6871
<rule ref="Generic.PHP.UpperCaseConstant"/>
6972
<rule ref="Generic.Strings.UnnecessaryStringConcat">

0 commit comments

Comments
 (0)