X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FTidyTest.php;h=62b84aa12934a7be33ae4193903cee8041956c64;hb=015a4ef4db07d8d12585ab6081e2ff25b779b40d;hp=5db2908048561b0acc1fdba8c6350fbd9e4956d5;hpb=70e760ee4e37edad1be0573b37c17fe6899e4806;p=lhc%2Fweb%2Fwiklou.git 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' ], + ]; } }