Tests: Make phpunit providers "public static".
[lhc/web/wiklou.git] / tests / phpunit / languages / LanguageHeTest.php
index 1335e90..3fbd51e 100644 (file)
@@ -18,7 +18,7 @@ class LanguageHeTest extends LanguageClassesTestCase {
                $this->assertEquals( $result, $this->getLang()->getPluralRuleType( $value ) );
        }
 
-       function providePlural() {
+       public static function providePlural() {
                return array (
                        array( 'other', 0 ),
                        array( 'one', 1 ),
@@ -35,7 +35,7 @@ class LanguageHeTest extends LanguageClassesTestCase {
 
        // The comments in the beginning of the line help avoid RTL problems
        // with text editors.
-       function provideGrammar() {
+       public static function provideGrammar() {
                return array (
                        array(
                                /* result */ 'וויקיפדיה',