X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2FStatusTest.php;h=37ebf4cfcb704e5b1235ffbf4b5ee8f8fed37f2f;hb=6cfb2e3d7a2b96d5041312fcec88248bb46573d7;hp=54c05ecc0c5b385bd14f3642bad769b551d2bb6b;hpb=803f3867b7fcbb5fcee405f5c10cfa06cb857bd6;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/StatusTest.php b/tests/phpunit/includes/StatusTest.php index 54c05ecc0c..37ebf4cfcb 100644 --- a/tests/phpunit/includes/StatusTest.php +++ b/tests/phpunit/includes/StatusTest.php @@ -237,7 +237,7 @@ class StatusTest extends MediaWikiLangTestCase { } /** - * @param array $messageDetails E.g. array( 'KEY' => array(/PARAMS/) ) + * @param array $messageDetails E.g. [ 'KEY' => [ /PARAMS/ ] ] * @return Message[] */ protected function getMockMessages( $messageDetails ) { @@ -401,8 +401,8 @@ class StatusTest extends MediaWikiLangTestCase { $status, "* ⧼fooBar!⧽\n* ⧼fooBar2!⧽\n", "(wrap-long: * (fooBar!)\n* (fooBar2!)\n)", - "\n", - "

(wrap-long: * (fooBar!)\n

\n\n

)\n

", + "\n", + "

(wrap-long: * (fooBar!)\n

\n\n

)\n

", ]; $status = new Status(); @@ -422,8 +422,8 @@ class StatusTest extends MediaWikiLangTestCase { $status, "* ⧼fooBar!⧽\n* ⧼fooBar2!⧽\n", "(wrap-long: * (fooBar!: foo, bar)\n* (fooBar2!)\n)", - "\n", - "

(wrap-long: * (fooBar!: foo, bar)\n

\n\n

)\n

", + "\n", + "

(wrap-long: * (fooBar!: foo, bar)\n

\n\n

)\n

", ]; return $testCases;