Skip to content

Commit

Permalink
Avoid race condition (and make PhpStorm happy)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 25, 2021
1 parent ae8359e commit 56fb219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/scripts/phar-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
'private static $pharVersion;',
'private static $pharVersion = "' . $argv[1] . '";',
\file_get_contents(__DIR__ . '/../tmp/phar/phpunit/Runner/Version.php')
)
),
\LOCK_EX
);

if ($argv[2] == 'release') {
Expand Down

0 comments on commit 56fb219

Please sign in to comment.