Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Logging/LogInterpreter.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ public function mergeReaders(): TestSuite
$this->mergeSuites($mainSuite, $otherSuite);
}

assert($mainSuite !== null);
if ($mainSuite === null) {
return new TestSuite('', 0, 0, 0, 0, 0, 0, 0, 0.0, '', [], []);
}

return $mainSuite;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Runners/PHPUnit/ExecutableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private function unlinkTempFile(?string &$tempName): void
$tempName = null;
}

/**
/**
* Returns the path to this test's JUnit temp file.
* If the temp file does not exist, it will be
* created.
Expand All @@ -121,7 +121,7 @@ final public function deleteTempFiles(): void
$this->unlinkTempFile($this->coverageFileName);
}

/**
/**
* Return the last process command.
*/
final public function getLastCommand(): string
Expand Down
Loading