Skip to content

Commit

Permalink
Update TestRunner.php
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Mar 17, 2024
1 parent 1dc7b80 commit adccd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestRunner.php
Expand Up @@ -251,7 +251,7 @@ public function run(TestCase $test): void
*/
public function runInSeparateProcess(TestCase $test, bool $runEntireClass, bool $preserveGlobalState): void
{
if ($runEntireClass && $this->isPcntlForkAvailable()) {
if ($this->isPcntlForkAvailable()) {
// forking the parent process is a more lightweight way to run a test in isolation.
// it requires the pcntl extension though.
$this->runInFork($test);
Expand Down

0 comments on commit adccd7e

Please sign in to comment.