Skip to content

Commit 1bb3ca0

Browse files
Closes #3394
1 parent bc9f7ac commit 1bb3ca0

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

ChangeLog-7.4.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes of the PHPUnit 7.4 release series are documented in this fil
77
### Fixed
88

99
* Fixed [#3379](https://github.com/sebastianbergmann/phpunit/issues/3379): Dependent test of skipped test has status `-1`
10+
* Fixed [#3394](https://github.com/sebastianbergmann/phpunit/issues/3394): Process Isolation does not work when PHPUnit is used as PHAR
1011

1112
## [7.4.3] - 2018-10-23
1213

build/binary-phar-autoload.php.in

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,16 @@ Phar::mapPhar('___PHAR___');
4040

4141
___FILELIST___
4242

43-
if (!$execute) {
44-
exit;
45-
}
46-
47-
if (isset($printManifest)) {
48-
print file_get_contents(__PHPUNIT_PHAR_ROOT__ . '/manifest.txt');
43+
if ($execute) {
44+
if (isset($printManifest)) {
45+
print file_get_contents(__PHPUNIT_PHAR_ROOT__ . '/manifest.txt');
4946

50-
exit;
51-
}
47+
exit;
48+
}
5249

53-
unset($execute);
50+
unset($execute);
5451

55-
PHPUnit\TextUI\Command::main();
52+
PHPUnit\TextUI\Command::main();
53+
}
5654

5755
__HALT_COMPILER();

0 commit comments

Comments
 (0)