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()); } /**