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 011ef95 commit 7cd11eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestRunner.php
Original file line number Diff line number Diff line change
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 7cd11eb

Please sign in to comment.