@@ -15,17 +15,17 @@ class PrettyPrinter extends ResultPrinter implements TestListener
15
15
protected $ className ;
16
16
protected $ previousClassName ;
17
17
18
- public function startTestSuite (TestSuite $ suite ): void
18
+ public function startTestSuite (TestSuite $ suite )
19
19
{
20
20
parent ::startTestSuite ($ suite );
21
21
}
22
22
23
- public function startTest (Test $ test ): void
23
+ public function startTest (Test $ test )
24
24
{
25
25
$ this ->className = get_class ($ test );
26
26
}
27
27
28
- public function endTest (Test $ test , float $ time ): void
28
+ public function endTest (Test $ test , float $ time )
29
29
{
30
30
parent ::endTest ($ test , $ time );
31
31
@@ -88,7 +88,7 @@ public function endTest(Test $test, float $time): void
88
88
$ this ->writeWithColor ($ timeColor , '[ ' . number_format ($ time , 3 ) . 's] ' , true );
89
89
}
90
90
91
- protected function writeProgress (string $ progress ): void
91
+ protected function writeProgress (string $ progress )
92
92
{
93
93
if ($ this ->previousClassName !== $ this ->className ) {
94
94
$ this ->write ("\n" );
@@ -126,7 +126,7 @@ protected function writeProgress(string $progress): void
126
126
}
127
127
}
128
128
129
- protected function printDefectTrace (TestFailure $ defect ): void
129
+ protected function printDefectTrace (TestFailure $ defect )
130
130
{
131
131
$ this ->write ($ this ->formatExceptionMsg ($ defect ->getExceptionAsString ()));
132
132
$ trace = Filter::getFilteredStacktrace (
0 commit comments