X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FLinkFilterTest.php;h=f2c9cb43a216fdc5deb0ecb35dfaf6453becf8ed;hb=96764fbc9a67fa6040c6123d31ac3746fc6fd98f;hp=41207b749c727ba3651511695bb3a6c67903da37;hpb=075b90235e86de663c000db2c90253509bb97375;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/LinkFilterTest.php b/tests/phpunit/includes/LinkFilterTest.php index 41207b749c..f2c9cb43a2 100644 --- a/tests/phpunit/includes/LinkFilterTest.php +++ b/tests/phpunit/includes/LinkFilterTest.php @@ -34,7 +34,7 @@ class LinkFilterTest extends MediaWikiLangTestCase { * * Takes an array as created by LinkFilter::makeLikeArray() and creates a regex from it * - * @param Array $like Array as created by LinkFilter::makeLikeArray() + * @param array $like Array as created by LinkFilter::makeLikeArray() * @return string Regex */ function createRegexFromLIKE( $like ) { @@ -185,9 +185,9 @@ class LinkFilterTest extends MediaWikiLangTestCase { * * @dataProvider provideValidPatterns * - * @param String $protocol Protocol, e.g. 'http://' or 'mailto:' - * @param String $pattern Search pattern to feed to LinkFilter::makeLikeArray - * @param String $url URL to feed to wfMakeUrlIndexes + * @param string $protocol Protocol, e.g. 'http://' or 'mailto:' + * @param string $pattern Search pattern to feed to LinkFilter::makeLikeArray + * @param string $url URL to feed to wfMakeUrlIndexes * @param bool $shouldBeFound Should the URL be found? (defaults true) */ function testMakeLikeArrayWithValidPatterns( $protocol, $pattern, $url, $shouldBeFound = true ) { @@ -260,7 +260,7 @@ class LinkFilterTest extends MediaWikiLangTestCase { * * @dataProvider provideInvalidPatterns * - * @param $pattern string: Invalid search pattern + * @param string $pattern Invalid search pattern */ function testMakeLikeArrayWithInvalidPatterns( $pattern ) {