mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
fix: overrides being used on regular phpunit
This commit is contained in:
@ -95,7 +95,7 @@ final class TestSuite
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
if (self::$instance === null) {
|
||||
if (! self::$instance instanceof self) {
|
||||
throw new InvalidPestCommand();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user