Skip to content

Commit d4b171b

Browse files
committed
minor #14121 CS: Pre incrementation/decrementation should be used if possible (gharlan)
This PR was merged into the 2.3 branch. Discussion ---------- CS: Pre incrementation/decrementation should be used if possible | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Fixes provided by new fixer: PHP-CS-Fixer/PHP-CS-Fixer#1113 If this pr is merged I would change the level of the fixer to `symfony`. Commits ------- c5123d6 CS: Pre incrementation/decrementation should be used if possible
2 parents b64d943 + 2752889 commit d4b171b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Logger/DbalLoggerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function testLogUTF8LongString()
121121

122122
$shortString = '';
123123
$longString = '';
124-
for ($i = 1; $i <= DbalLogger::MAX_STRING_LENGTH; $i++) {
124+
for ($i = 1; $i <= DbalLogger::MAX_STRING_LENGTH; ++$i) {
125125
$shortString .= $testStringArray[$i % $testStringCount];
126126
$longString .= $testStringArray[$i % $testStringCount];
127127
}

0 commit comments

Comments
 (0)