Skip to content

Commit

Permalink
Fix version information for snapshot PHARs (broken since e1c95d8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 25, 2021
1 parent 43596ae commit 84a6fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/scripts/phar-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
\file_put_contents(
__DIR__ . '/../tmp/phar/phpunit/Runner/Version.php',
\str_replace(
'private static $pharVersion;',
'private static $pharVersion = "' . $argv[1] . '";',
'private static $pharVersion = \'\';',
'private static $pharVersion = \'' . $argv[1] . '\';',
\file_get_contents(__DIR__ . '/../tmp/phar/phpunit/Runner/Version.php')
),
\LOCK_EX
Expand Down

0 comments on commit 84a6fc4

Please sign in to comment.