From 776f40844238343ed3e46d5ee66ae7d1e1eca74b Mon Sep 17 00:00:00 2001 From: Colin Sheaff Date: Wed, 8 Nov 2023 17:09:43 -0600 Subject: [PATCH] Do not suppress warning messages --- src/Adapters/Phpunit/Printers/DefaultPrinter.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Adapters/Phpunit/Printers/DefaultPrinter.php b/src/Adapters/Phpunit/Printers/DefaultPrinter.php index 0725e22..af76927 100644 --- a/src/Adapters/Phpunit/Printers/DefaultPrinter.php +++ b/src/Adapters/Phpunit/Printers/DefaultPrinter.php @@ -263,9 +263,7 @@ public function testRunnerDeprecationTriggered(TestRunnerDeprecationTriggered $e */ public function testRunnerWarningTriggered(TestRunnerWarningTriggered $event): void { - if (! str_starts_with($event->message(), 'No tests found in class')) { - $this->style->writeWarning($event->message()); - } + $this->style->writeWarning($event->message()); } /**