1
0
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:
Andreas Fischer 2013-10-29 23:55:39 +01:00
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" />