X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FStatusTest.php;h=37ebf4cfcb704e5b1235ffbf4b5ee8f8fed37f2f;hp=54c05ecc0c5b385bd14f3642bad769b551d2bb6b;hb=04d1aa3033f40a38d721f7f0e88b5bac440d2869;hpb=3f59cb9f3a53ad28f8a95fe299c5de6abd24b453 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;