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
1717 private $ currentFile ;
1818 private $ currentFileSuite ;
1919
20- public function startTest (\PHPUnit \Framework \Test $ test ): void
20+ public function startTest (\PHPUnit \Framework \Test $ test )
2121 {
2222 if (method_exists ($ test , 'getFileName ' ) ) {
2323 $ filename = $ test ->getFileName ();
@@ -66,7 +66,7 @@ public function startTest(\PHPUnit\Framework\Test $test):void
6666 }
6767 }
6868
69- public function endTest (\PHPUnit \Framework \Test $ test , float $ time ): void
69+ public function endTest (\PHPUnit \Framework \Test $ test , $ time )
7070 {
7171 if ($ this ->currentTestCase !== null && $ test instanceof Test) {
7272 $ numAssertions = $ test ->getNumAssertions ();
@@ -101,7 +101,7 @@ public function endTest(\PHPUnit\Framework\Test $test, float $time):void
101101 /**
102102 * Cleans the mess caused by test suite manipulation in startTest
103103 */
104- public function endTestSuite (TestSuite $ suite ): void
104+ public function endTestSuite (TestSuite $ suite )
105105 {
106106 if ($ suite ->getName ()) {
107107 if ($ this ->currentFile ) {
You can’t perform that action at this time.
0 commit comments