Merge pull request #1372 from soyuka/patch-1

throw exception instead of using Panic in the TestSuite.php
This commit is contained in:
nuno maduro
2025-07-30 18:27:13 +01:00
committed by GitHub

View File

@ -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;