We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 021f82d + 91ae2f4 commit dc0ac49Copy full SHA for dc0ac49
phpcs.xml.dist
@@ -87,6 +87,12 @@
87
<severity>0</severity>
88
</rule>
89
90
+ <!-- Don't enforce single line arrays for single item arrays in test files. Readability over brevity. -->
91
+ <rule ref="Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed">
92
+ <exclude-pattern>tests/*\.php$</exclude-pattern>
93
+ <exclude-pattern>Standards/*/Tests/*/*UnitTest\.php$</exclude-pattern>
94
+ </rule>
95
+
96
<!-- Check var names, but we don't want leading underscores for private vars -->
97
<rule ref="Squiz.NamingConventions.ValidVariableName"/>
98
<rule ref="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore">
0 commit comments