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=c8e482371407477ecd4f0a1b5778e565d3963a93;hpb=59ebff658ce912c1b0e7ef8d8f9bfec5a4e17b39 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' ], + ]; } }