diff --git a/ChangeLog-7.4.md b/ChangeLog-7.4.md index 38de33d8257..6c76518d3a7 100644 --- a/ChangeLog-7.4.md +++ b/ChangeLog-7.4.md @@ -7,6 +7,7 @@ All notable changes of the PHPUnit 7.4 release series are documented in this fil ### Fixed * Fixed [#3379](https://github.com/sebastianbergmann/phpunit/issues/3379): Dependent test of skipped test has status `-1` +* Fixed [#3394](https://github.com/sebastianbergmann/phpunit/issues/3394): Process Isolation does not work when PHPUnit is used as PHAR ## [7.4.3] - 2018-10-23 diff --git a/build/binary-phar-autoload.php.in b/build/binary-phar-autoload.php.in index cab03d3f929..e65915726f8 100644 --- a/build/binary-phar-autoload.php.in +++ b/build/binary-phar-autoload.php.in @@ -40,18 +40,16 @@ Phar::mapPhar('___PHAR___'); ___FILELIST___ -if (!$execute) { - exit; -} - -if (isset($printManifest)) { - print file_get_contents(__PHPUNIT_PHAR_ROOT__ . '/manifest.txt'); +if ($execute) { + if (isset($printManifest)) { + print file_get_contents(__PHPUNIT_PHAR_ROOT__ . '/manifest.txt'); - exit; -} + exit; + } -unset($execute); + unset($execute); -PHPUnit\TextUI\Command::main(); + PHPUnit\TextUI\Command::main(); +} __HALT_COMPILER();