ForLoopShouldBeWhileLoopSniff.php Interfaces, Classes and Traits Generic_Sniffs_CodeAnalysis_ForLoopShouldBeWhileLoopSniff Detects for-loops that can be simplified to a while-loop.