Skip to content

Commit 567a5df

Browse files
committed
SlevomatCodingStandard ruleset.xml should be empty
1 parent 32e1c43 commit 567a5df

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

SlevomatCodingStandard/ruleset.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
<?xml version="1.0"?>
2-
<ruleset name="Slevomat Coding Standard">
3-
<rule ref="Generic.Commenting.Todo"/>
4-
<rule ref="Squiz.Commenting.FunctionComment">
5-
<exclude name="Squiz.Commenting.FunctionComment.IncorrectParamVarName"/><!-- throws error with short type hint for integer and boolean -->
6-
</rule>
7-
</ruleset>
2+
<ruleset name="Slevomat Coding Standard"/>

build/phpcs.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
<rule ref="./phpcs-consistence.xml">
1616
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedIF"/><!-- Allow empty if statements - usually with a comment -->
1717
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedELSEIF"/><!-- Allow empty elseif statements - usually with a comment -->
18+
<exclude name="Squiz.Commenting.FunctionComment.IncorrectParamVarName"/><!-- Throws error with short type hint for integer and boolean -->
1819
</rule>
20+
21+
<rule ref="Generic.Commenting.Todo"/>
22+
1923
<rule ref="SlevomatCodingStandard.Commenting.ForbiddenAnnotations">
2024
<properties>
2125
<property name="forbiddenAnnotations" type="array" value="

0 commit comments

Comments
 (0)