Compare commits

..

2 Commits

Author SHA1 Message Date
8dd650fd05 Merge branch '4.x' into 5.x 2026-04-09 21:39:15 +01:00
d9d46c73f8 chore: stores statically the result 2026-04-09 21:36:49 +01:00

View File

@ -56,6 +56,11 @@ final class WrapperRunner implements RunnerInterface
/**
* The time to sleep between cycles.
*/
/**
* The merged test result from the parallel run.
*/
public static ?TestResult $result = null;
private const int CYCLE_SLEEP = 10000;
/**
@ -391,6 +396,8 @@ final class WrapperRunner implements RunnerInterface
$testResultSum->numberOfIssuesIgnoredByBaseline(),
);
self::$result = $testResultSum;
if ($this->options->configuration->cacheResult()) {
$resultCacheSum = new DefaultResultCache($this->options->configuration->testResultCacheFile());
foreach ($this->resultCacheFiles as $resultCacheFile) {