Tests: Make phpunit providers "public static".
[lhc/web/wiklou.git] / tests / phpunit / languages / LanguageSgsTest.php
index 4721d50..589a369 100644 (file)
@@ -18,7 +18,7 @@ class LanguageSgsTest extends LanguageClassesTestCase {
                $this->assertEquals( $result, $this->getLang()->getPluralRuleType( $value ) );
        }
 
-       function providePluralAllForms() {
+       public static function providePluralAllForms() {
                return array(
                        array( 'few', 0 ),
                        array( 'one', 1 ),
@@ -42,7 +42,7 @@ class LanguageSgsTest extends LanguageClassesTestCase {
                $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
        }
 
-       function providePluralTwoForms() {
+       public static function providePluralTwoForms() {
                return array(
                        array( 'other', 0 ),
                        array( 'one', 1 ),