X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FGlobalFunctions%2FwfUrlencodeTest.php;h=09c1040b2f1d390cff688c54901f3cbd2b999f42;hb=299b7b412731f60866885c0532558c349ba3da76;hp=1f1c9beaf116087f7d5c3992bcd3160ec88a83ee;hpb=ae69acacf567077b3f49d1fe6c3f3770e72a9093;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php b/tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php index 1f1c9beaf1..09c1040b2f 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php +++ b/tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php @@ -28,7 +28,6 @@ class WfUrlencodeTest extends MediaWikiTestCase { /** * Internal helper that actually run the test. * Called by the public methods testEncodingUrlWith...() - * */ private function verifyEncodingFor( $server, $input, $expectations ) { $expected = $this->extractExpect( $server, $expectations ); @@ -80,12 +79,12 @@ class WfUrlencodeTest extends MediaWikiTestCase { /** * Format is either: - * array( 'input', 'expected' ); + * [ 'input', 'expected' ]; * Or: - * array( 'input', - * array( 'Apache', 'expected' ), - * array( 'Microsoft-IIS/7', 'expected' ), - * ), + * [ 'input', + * [ 'Apache', 'expected' ], + * [ 'Microsoft-IIS/7', 'expected' ], + * ], * If you want to add other HTTP server name, you will have to add a new * testing method much like the testEncodingUrlWith() method above. */