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.
1 parent dcacf1d commit 64baf78Copy full SHA for 64baf78
src/WoohooLabs/ruleset.xml
@@ -136,6 +136,9 @@
136
<!-- Forbid weak comparisons -->
137
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowEqualOperators"/>
138
139
+ <!-- Disallow useless else/elseif conditions -->
140
+ <rule ref="SlevomatCodingStandard.ControlStructures.EarlyExitSniff"/>
141
+
142
<!-- Require language constructs without parentheses -->
143
<rule ref="SlevomatCodingStandard.ControlStructures.LanguageConstructWithParentheses"/>
144
@@ -197,6 +200,9 @@
197
200
</properties>
198
201
</rule>
199
202
203
+ <!-- Forbid whitespace after the spread operator -->
204
+ <rule ref="SlevomatCodingStandard.Operators.SpreadOperatorSpacingSniff"/>
205
206
<!-- Forbid `list(...)` syntax -->
207
<rule ref="SlevomatCodingStandard.PHP.ShortList"/>
208
0 commit comments