From 174645caa226c2396d562f91ff0bb9ea41b53305 Mon Sep 17 00:00:00 2001 From: Antoine Bluchet Date: Tue, 18 Mar 2025 14:49:32 +0100 Subject: [PATCH] throw exception instead of using Panic --- src/TestSuite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestSuite.php b/src/TestSuite.php index ca35a040..6d71dd56 100644 --- a/src/TestSuite.php +++ b/src/TestSuite.php @@ -101,7 +101,7 @@ final class TestSuite } if (! self::$instance instanceof self) { - Panic::with(new InvalidPestCommand); + throw new InvalidPestCommand; } return self::$instance;