mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-02 23:09:42 +01:00
[task/code-sniffer] Add Generic.CodeAnalysis.ForLoopShouldBeWhileLoop
PHPBB3-11980
This commit is contained in:
parent
387ed37b31
commit
721e652425
@ -5,6 +5,9 @@
|
||||
|
||||
<rule ref="./ruleset-minimum.xml" />
|
||||
|
||||
<!-- "for (; bar; )" should be "while (bar)" instead -->
|
||||
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop" />
|
||||
|
||||
<!-- The body of each structure MUST be enclosed by braces. -->
|
||||
<rule ref="Generic.ControlStructures.InlineControlStructure" />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user