Tests: Make phpunit providers "public static".
[lhc/web/wiklou.git] / tests / phpunit / languages / LanguageSeTest.php
index 3e676b9..9b9297c 100644 (file)
@@ -18,7 +18,7 @@ class LanguageSeTest extends LanguageClassesTestCase {
                $this->assertEquals( $result, $this->getLang()->getPluralRuleType( $value ) );
        }
 
-       function providePlural() {
+       public static function providePlural() {
                return array (
                        array( 'other', 0 ),
                        array( 'one', 1 ),
@@ -33,7 +33,7 @@ class LanguageSeTest extends LanguageClassesTestCase {
                $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
        }
 
-       function providerPluralTwoForms() {
+       public static function providerPluralTwoForms() {
                return array (
                        array( 'other', 0 ),
                        array( 'one', 1 ),