mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Merge pull request #1372 from soyuka/patch-1
throw exception instead of using Panic in the TestSuite.php
This commit is contained in:
@ -102,7 +102,7 @@ final class TestSuite
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (! self::$instance instanceof self) {
|
if (! self::$instance instanceof self) {
|
||||||
Panic::with(new InvalidPestCommand);
|
throw new InvalidPestCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
return self::$instance;
|
return self::$instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user