summaryrefslogtreecommitdiffstatshomepage
path: root/tests/phpunit/includes/phpunit7
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2019-12-11 15:46:51 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2019-12-11 15:46:51 +0000
commitb73180da85d8f23ad4b292c1ccbeb3ca0bb7bf7b (patch)
tree665e8fea732bd37c4c1a9b048d2e96b113b18d9a /tests/phpunit/includes/phpunit7
parent2c5522799597e853c925ebc8b18296f143794150 (diff)
downloadwordpress-b73180da85d8f23ad4b292c1ccbeb3ca0bb7bf7b.tar.gz
wordpress-b73180da85d8f23ad4b292c1ccbeb3ca0bb7bf7b.zip
Tests: Docs: Correct `@param` formatting in `SpeedTrapListener` after [35226] and [45607].
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46882 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tests/phpunit/includes/phpunit7')
-rw-r--r--tests/phpunit/includes/phpunit7/speed-trap-listener.php16
1 files changed, 8 insertions, 8 deletions
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 );