Skip to content

Commit 68746a1

Browse files
committed
phpcs: exclude elseif sniff
1 parent 0c8d022 commit 68746a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Standards/xibo_ruleset.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
<exclude-pattern>vendor/</exclude-pattern>
2121

2222
<!-- Include the whole of PSR2 -->
23-
<rule ref="PSR2" />
23+
<rule ref="PSR2">
24+
<exclude name="PSR2.ControlStructures.ElseIfDeclaration" />
25+
</rule>
2426

2527
<!-- Include the double quotes check from Squiz -->
2628
<rule ref="Squiz.Strings.DoubleQuoteUsage" />

0 commit comments

Comments
 (0)