From 1ecb64f0c2eaa25ba6631b1c42341828337cdaea Mon Sep 17 00:00:00 2001 From: Gregor Harlan Date: Tue, 31 Mar 2015 01:07:44 +0200 Subject: [PATCH] CS: Pre incrementation/decrementation should be used if possible --- ClassMapGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClassMapGenerator.php b/ClassMapGenerator.php index 4c2aeab..112bee8 100644 --- a/ClassMapGenerator.php +++ b/ClassMapGenerator.php @@ -95,7 +95,7 @@ private static function findClasses($path) $classes = array(); $namespace = ''; - for ($i = 0, $max = count($tokens); $i < $max; $i++) { + for ($i = 0, $max = count($tokens); $i < $max; ++$i) { $token = $tokens[$i]; if (is_string($token)) {