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 8a7f542 commit 153ad41Copy full SHA for 153ad41
tests/bootstrap.php
@@ -20,9 +20,9 @@ function getTempDir(): string
20
{
21
$dir = __DIR__ . '/tmp/' . getmypid();
22
23
- if (empty($GLOBALS['\\lock'])) {
+ if (empty($GLOBALS['\lock'])) {
24
// garbage collector
25
- $GLOBALS['\\lock'] = $lock = fopen(__DIR__ . '/lock', 'w');
+ $GLOBALS['\lock'] = $lock = fopen(__DIR__ . '/lock', 'w');
26
if (rand(0, 100)) {
27
flock($lock, LOCK_SH);
28
@mkdir(dirname($dir));
0 commit comments