diff --git a/tests/phpunit/includes/phpunit7/speed-trap-listener.php b/tests/phpunit/includes/phpunit7/speed-trap-listener.php index c27fbc21cd..164245df03 100644 --- a/tests/phpunit/includes/phpunit7/speed-trap-listener.php +++ b/tests/phpunit/includes/phpunit7/speed-trap-listener.php @@ -52,7 +52,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time */ public function addError( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { } @@ -73,7 +73,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param PHPUnit_Framework_AssertionFailedError $e - * @param float $time + * @param float $time */ public function addFailure( PHPUnit\Framework\Test $test, PHPUnit\Framework\AssertionFailedError $e, float $time ): void { } @@ -83,7 +83,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time */ public function addIncompleteTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { } @@ -93,7 +93,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time * @since Method available since Release 4.0.0 */ public function addRiskyTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { @@ -104,7 +104,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time */ public function addSkippedTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { } @@ -121,7 +121,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * A test ended. * * @param PHPUnit_Framework_Test $test - * @param float $time + * @param float $time */ public function endTest( PHPUnit\Framework\Test $test, float $time ): void { if ( ! $test instanceof PHPUnit_Framework_TestCase ) { @@ -165,7 +165,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { /** * Whether the given test execution time is considered slow. * - * @param int $time Test execution time in milliseconds + * @param int $time Test execution time in milliseconds * @param int $slow_threshold Test execution time at which a test should be considered slow (milliseconds) * @return bool */ @@ -177,7 +177,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * Stores a test as slow. * * @param PHPUnit_Framework_TestCase $test - * @param int $time Test execution time in milliseconds + * @param int $time Test execution time in milliseconds */ protected function addSlowTest( PHPUnit_Framework_TestCase $test, $time ) { $label = $this->makeLabel( $test ); diff --git a/tests/phpunit/includes/speed-trap-listener.php b/tests/phpunit/includes/speed-trap-listener.php index 0de9d9ae86..0eaff5456d 100644 --- a/tests/phpunit/includes/speed-trap-listener.php +++ b/tests/phpunit/includes/speed-trap-listener.php @@ -52,7 +52,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time */ public function addError( PHPUnit_Framework_Test $test, Exception $e, $time ) { } @@ -73,7 +73,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param PHPUnit_Framework_AssertionFailedError $e - * @param float $time + * @param float $time */ public function addFailure( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time ) { } @@ -83,7 +83,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time */ public function addIncompleteTest( PHPUnit_Framework_Test $test, Exception $e, $time ) { } @@ -93,7 +93,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time * @since Method available since Release 4.0.0 */ public function addRiskyTest( PHPUnit_Framework_Test $test, Exception $e, $time ) { @@ -104,7 +104,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * * @param PHPUnit_Framework_Test $test * @param Exception $e - * @param float $time + * @param float $time */ public function addSkippedTest( PHPUnit_Framework_Test $test, Exception $e, $time ) { } @@ -121,7 +121,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * A test ended. * * @param PHPUnit_Framework_Test $test - * @param float $time + * @param float $time */ public function endTest( PHPUnit_Framework_Test $test, $time ) { if ( ! $test instanceof PHPUnit_Framework_TestCase ) { @@ -165,7 +165,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { /** * Whether the given test execution time is considered slow. * - * @param int $time Test execution time in milliseconds + * @param int $time Test execution time in milliseconds * @param int $slow_threshold Test execution time at which a test should be considered slow (milliseconds) * @return bool */ @@ -177,7 +177,7 @@ class SpeedTrapListener implements PHPUnit_Framework_TestListener { * Stores a test as slow. * * @param PHPUnit_Framework_TestCase $test - * @param int $time Test execution time in milliseconds + * @param int $time Test execution time in milliseconds */ protected function addSlowTest( PHPUnit_Framework_TestCase $test, $time ) { $label = $this->makeLabel( $test );