Skip to content

Commit 2752889

Browse files
committed
CS: Pre incrementation/decrementation should be used if possible
1 parent c795c72 commit 2752889

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)