File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed
Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change 33namespace Illuminate \Tests ;
44
55use PHPUnit \Framework \TestResult ;
6- use PHPUnit \Runner \Version ;
7- use PHPUnit \TextUI \DefaultResultPrinter as PHPUnit9ResultPrinter ;
8- use PHPUnit \TextUI \ResultPrinter as PHPUnit8ResultPrinter ;
6+ use PHPUnit \TextUI \DefaultResultPrinter ;
97
10- if (class_exists (Version::class) && (int ) Version::series ()[0 ] >= 9 ) {
11- class IgnoreSkippedPrinter extends PHPUnit9ResultPrinter
8+ class IgnoreSkippedPrinter extends DefaultResultPrinter
9+ {
10+ protected function printSkipped (TestResult $ result ): void
1211 {
13- protected function printSkipped (TestResult $ result ): void
14- {
15- //
16- }
17- }
18- } else {
19- class IgnoreSkippedPrinter extends PHPUnit8ResultPrinter
20- {
21- protected function printSkipped (TestResult $ result ): void
22- {
23- //
24- }
12+ //
2513 }
2614}
You can’t perform that action at this time.
0 commit comments