diff --git a/phpunit.xml.dist b/phpunit.xml.dist index bff45979a585..cc45c172e33c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -7,6 +7,7 @@ convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" + printerClass="Illuminate\Tests\IgnoreSkippedPrinter" processIsolation="false" stopOnError="false" stopOnFailure="false" diff --git a/tests/IgnoreSkippedPrinter.php b/tests/IgnoreSkippedPrinter.php new file mode 100644 index 000000000000..521c3e6aa490 --- /dev/null +++ b/tests/IgnoreSkippedPrinter.php @@ -0,0 +1,26 @@ += 9) { + class IgnoreSkippedPrinter extends PHPUnit9ResultPrinter + { + protected function printSkipped(TestResult $result): void + { + // + } + } +} else { + class IgnoreSkippedPrinter extends PHPUnit8ResultPrinter + { + protected function printSkipped(TestResult $result): void + { + // + } + } +}