mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
fix: prepares for nightly phpunit release
This commit is contained in:
@ -114,7 +114,12 @@ final class WrapperRunner implements RunnerInterface
|
||||
ExcludeList::addDirectory($directory);
|
||||
|
||||
TestResultFacade::init();
|
||||
EventFacade::seal();
|
||||
|
||||
if (method_exists(EventFacade::class, 'instance')) { // @phpstan-ignore-line
|
||||
EventFacade::instance()->seal();
|
||||
} else {
|
||||
EventFacade::seal(); // @phpstan-ignore-line
|
||||
}
|
||||
|
||||
$suiteLoader = new SuiteLoader($this->options, $this->output, $this->codeCoverageFilterRegistry);
|
||||
$this->pending = $this->getTestFiles($suiteLoader);
|
||||
|
||||
Reference in New Issue
Block a user