X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fsite%2FSiteTest.php;h=59f046b2ef6530705d33709cacc4179cf96392eb;hb=8956885666e4678a8ff76f7310396d2b2874a858;hp=2f785b5fca0291d93ff915838e74608b8166bbd9;hpb=3de7e73bd0f0ddf5d7c38fd46edfae96d1a64e40;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', - ), - ); + ], + ]; } /**