This repository was archived by the owner on Mar 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class PhpUnit extends \PHPUnit\Util\Log\JUnit
17
17
private $ currentFile ;
18
18
private $ currentFileSuite ;
19
19
20
- public function startTest (\PHPUnit \Framework \Test $ test ): void
20
+ public function startTest (\PHPUnit \Framework \Test $ test )
21
21
{
22
22
if (method_exists ($ test , 'getFileName ' ) ) {
23
23
$ filename = $ test ->getFileName ();
@@ -66,7 +66,7 @@ public function startTest(\PHPUnit\Framework\Test $test):void
66
66
}
67
67
}
68
68
69
- public function endTest (\PHPUnit \Framework \Test $ test , float $ time ): void
69
+ public function endTest (\PHPUnit \Framework \Test $ test , $ time )
70
70
{
71
71
if ($ this ->currentTestCase !== null && $ test instanceof Test) {
72
72
$ numAssertions = $ test ->getNumAssertions ();
@@ -101,7 +101,7 @@ public function endTest(\PHPUnit\Framework\Test $test, float $time):void
101
101
/**
102
102
* Cleans the mess caused by test suite manipulation in startTest
103
103
*/
104
- public function endTestSuite (TestSuite $ suite ): void
104
+ public function endTestSuite (TestSuite $ suite )
105
105
{
106
106
if ($ suite ->getName ()) {
107
107
if ($ this ->currentFile ) {
You can’t perform that action at this time.
0 commit comments