X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=tests%2Fparser%2FparserTest.inc;h=aa56e6e3f1135c2d397f55730104f816ce97a59f;hb=1a6a9dd4b18a1dce5fade2e3d66dbb8e72cd2664;hp=b9bb33fdf0138d3de640c0ceb067f8113f6fc3e7;hpb=86ce0ee506b46079255ab7cfdf07f7b18ba2f470;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTest.inc b/tests/parser/parserTest.inc index b9bb33fdf0..aa56e6e3f1 100644 --- a/tests/parser/parserTest.inc +++ b/tests/parser/parserTest.inc @@ -228,7 +228,7 @@ class ParserTest { * Remove last character if it is a newline * @group utility */ - static public function chomp( $s ) { + public static function chomp( $s ) { if ( substr( $s, -1 ) === "\n" ) { return substr( $s, 0, -1 ); } else { @@ -1195,7 +1195,7 @@ class ParserTest { * @param $line Integer: the input line number, for reporting errors * @param $ignoreDuplicate Boolean: whether to silently ignore duplicate pages */ - static public function addArticle( $name, $text, $line = 'unknown', $ignoreDuplicate = '' ) { + public static function addArticle( $name, $text, $line = 'unknown', $ignoreDuplicate = '' ) { global $wgCapitalLinks; $oldCapitalLinks = $wgCapitalLinks;