Skip to content

Commit 00dbe80

Browse files
authored
Merge pull request #11 from dasgarner/master
phpcs: exclude elseif sniff
2 parents 92b0403 + 68746a1 commit 00dbe80

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)