Skip to content

Commit e906970

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 0cf6399 + 1f66802 commit e906970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RememberMe/TokenBasedRememberMeServices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private function compareHashes($hash1, $hash2)
8282
}
8383

8484
$result = 0;
85-
for ($i = 0; $i < $c; $i++) {
85+
for ($i = 0; $i < $c; ++$i) {
8686
$result |= ord($hash1[$i]) ^ ord($hash2[$i]);
8787
}
8888

0 commit comments

Comments
 (0)