We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134b705 commit b27b2bfCopy full SHA for b27b2bf
tests/ClassMapGeneratorTest.php
@@ -422,7 +422,7 @@ public static function getUniqueTmpDirectory(): string
422
if (!file_exists($unique) && @mkdir($unique, 0777)) {
423
return (string) realpath($unique);
424
}
425
- } while (--$attempts);
+ } while (--$attempts > 0);
426
427
throw new \RuntimeException('Failed to create a unique temporary directory.');
428
0 commit comments