Skip to content

Commit bd42ab4

Browse files
committed
#135 #137 replacing ++ with += 1
1 parent 60b67e1 commit bd42ab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Doctrine/Tests/Common/Annotations/AnnotationRegistryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function testStopCallingLoadersIfClassIsNotFound() : void
7373
AnnotationRegistry::reset();
7474
$i = 0;
7575
$autoLoader = function () use (&$i) : bool {
76-
$i++;
76+
$i += 1;
7777
return false;
7878
};
7979
AnnotationRegistry::registerLoader($autoLoader);
@@ -93,7 +93,7 @@ public function testStopCallingLoadersAfterClassIsFound() : void
9393
$i = 0;
9494
$autoLoader = function () use (&$i, $className) : bool {
9595
eval('class ' . $className . ' {}');
96-
$i++;
96+
$i += 1;
9797
return true;
9898
};
9999
AnnotationRegistry::registerLoader($autoLoader);

0 commit comments

Comments
 (0)