X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FTidyTest.php;h=62b84aa12934a7be33ae4193903cee8041956c64;hp=5db2908048561b0acc1fdba8c6350fbd9e4956d5;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hpb=4f21e6be661f7305abc223bb31600970a3fb5326 diff --git a/tests/phpunit/includes/parser/TidyTest.php b/tests/phpunit/includes/parser/TidyTest.php index 5db2908048..62b84aa129 100644 --- a/tests/phpunit/includes/parser/TidyTest.php +++ b/tests/phpunit/includes/parser/TidyTest.php @@ -43,21 +43,21 @@ class TidyTest extends MediaWikiTestCase { MathML; - return array( - array( + return [ + [ 'foo', 'foo', ' should survive tidy' - ), - array( + ], + [ 'foo', 'foo', ' should survive tidy' - ), - array( 'foo', 'foo', ' should survive tidy' ), - array( "\nfoo", 'foo', ' should survive tidy' ), - array( "\nfoo", 'foo', ' should survive tidy' ), - array( $testMathML, $testMathML, ' should survive tidy' ), - ); + ], + [ 'foo', 'foo', ' should survive tidy' ], + [ "\nfoo", 'foo', ' should survive tidy' ], + [ "\nfoo", 'foo', ' should survive tidy' ], + [ $testMathML, $testMathML, ' should survive tidy' ], + ]; } }