Skip to content

Commit 8107d17

Browse files
committed
Fixed build because of changes in PHPCS 3.2.3
1 parent 4af3360 commit 8107d17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/phpcs-consistence.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
1010
<rule ref="Generic.Classes.DuplicateClassName"/>
1111
<rule ref="Generic.CodeAnalysis.EmptyStatement">
12-
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedCATCH"/><!-- empty catch statements are allowed -->
12+
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedCatch"/><!-- empty catch statements are allowed -->
1313
</rule>
1414
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
1515
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>

build/phpcs.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions"/>
1212
</rule>
1313
<rule ref="./phpcs-consistence.xml">
14-
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedIF"/><!-- Allow empty if statements - usually with a comment -->
15-
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedELSEIF"/><!-- Allow empty elseif statements - usually with a comment -->
14+
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedIf"/><!-- Allow empty if statements - usually with a comment -->
15+
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedElseif"/><!-- Allow empty elseif statements - usually with a comment -->
1616
<exclude name="Squiz.Commenting.FunctionComment.IncorrectParamVarName"/><!-- Throws error with short type hint for integer and boolean -->
1717
</rule>
1818

0 commit comments

Comments
 (0)