X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2Fsite%2FSiteTest.php;h=59f046b2ef6530705d33709cacc4179cf96392eb;hb=c807d75bb18d33d029f1bf903fb844fde82af57c;hp=2f785b5fca0291d93ff915838e74608b8166bbd9;hpb=48721b1eb24a1f5a309848e070e26ff8a71593a8;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/site/SiteTest.php b/tests/phpunit/includes/site/SiteTest.php index 2f785b5fca..59f046b2ef 100644 --- a/tests/phpunit/includes/site/SiteTest.php +++ b/tests/phpunit/includes/site/SiteTest.php @@ -233,23 +233,23 @@ class SiteTest extends MediaWikiTestCase { // is true for Site but not guaranteed for subclasses. // Subclasses need to override this provider appropriately. - return array( - array( # 0 + return [ + [ # 0 'http://acme.test/TestPath/$1', 'Foo', '/TestPath/Foo', - ), - array( # 1 + ], + [ # 1 'http://acme.test/TestScript?x=$1&y=bla', 'Foo', 'TestScript?x=Foo&y=bla', - ), - array( # 2 + ], + [ # 2 'http://acme.test/TestPath/$1', 'foo & bar/xyzzy (quux-shmoox?)', '/TestPath/foo%20%26%20bar%2Fxyzzy%20%28quux-shmoox%3F%29', - ), - ); + ], + ]; } /**