Skip to content

Commit d2cdc73

Browse files
committed
fix sniffer ruleset.
1 parent 3d115e1 commit d2cdc73

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

PSR2R/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
<rule ref="Squiz.ControlStructures.ControlSignature"/>
189189

190190
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration"/>
191+
<rule ref="Squiz.ControlStructures.ForLoopDeclaration"/>
191192
<rule ref="Squiz.ControlStructures.LowercaseDeclaration"/>
192193
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
193194

docs/sniffs.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PSR2R Code Sniffer
22

3-
The PSR2R standard contains 206 sniffs
3+
The PSR2R standard contains 207 sniffs
44

55
Generic (24 sniffs)
66
-------------------
@@ -211,13 +211,14 @@ SlevomatCodingStandard (45 sniffs)
211211
- SlevomatCodingStandard.Variables.DuplicateAssignmentToVariable
212212
- SlevomatCodingStandard.Whitespaces.DuplicateSpaces
213213

214-
Squiz (21 sniffs)
214+
Squiz (22 sniffs)
215215
-----------------
216216
- Squiz.Arrays.ArrayBracketSpacing
217217
- Squiz.Classes.LowercaseClassKeywords
218218
- Squiz.Classes.ValidClassName
219219
- Squiz.ControlStructures.ControlSignature
220220
- Squiz.ControlStructures.ForEachLoopDeclaration
221+
- Squiz.ControlStructures.ForLoopDeclaration
221222
- Squiz.ControlStructures.LowercaseDeclaration
222223
- Squiz.Functions.FunctionDeclaration
223224
- Squiz.Functions.FunctionDeclarationArgumentSpacing

0 commit comments

Comments
 (0)