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 3
3
namespace Illuminate \Tests ;
4
4
5
5
use 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 ;
9
7
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
12
11
{
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
+ //
25
13
}
26
14
}
You can’t perform that action at this time.
0 commit comments