@@ -674,7 +674,7 @@ public function testGetSymbol($displayLocale)
674
674
}
675
675
}
676
676
677
- public function provideCurrencies ()
677
+ public static function provideCurrencies ()
678
678
{
679
679
return array_map (
680
680
function ($ currency ) { return [$ currency ]; },
@@ -701,7 +701,7 @@ public function testGetRoundingIncrement($currency)
701
701
$ this ->assertIsNumeric (Currencies::getRoundingIncrement ($ currency ));
702
702
}
703
703
704
- public function provideCurrenciesWithNumericEquivalent ()
704
+ public static function provideCurrenciesWithNumericEquivalent ()
705
705
{
706
706
return array_map (
707
707
function ($ value ) { return [$ value ]; },
@@ -717,7 +717,7 @@ public function testGetNumericCode($currency)
717
717
$ this ->assertSame (self ::ALPHA3_TO_NUMERIC [$ currency ], Currencies::getNumericCode ($ currency ));
718
718
}
719
719
720
- public function provideCurrenciesWithoutNumericEquivalent ()
720
+ public static function provideCurrenciesWithoutNumericEquivalent ()
721
721
{
722
722
return array_map (
723
723
function ($ value ) { return [$ value ]; },
@@ -734,7 +734,7 @@ public function testGetNumericCodeFailsIfNoNumericEquivalent($currency)
734
734
Currencies::getNumericCode ($ currency );
735
735
}
736
736
737
- public function provideValidNumericCodes ()
737
+ public static function provideValidNumericCodes ()
738
738
{
739
739
$ numericToAlpha3 = $ this ->getNumericToAlpha3Mapping ();
740
740
@@ -759,7 +759,7 @@ public function testForNumericCode($numeric, $expected)
759
759
$ this ->assertSame ($ expected , $ actual );
760
760
}
761
761
762
- public function provideInvalidNumericCodes ()
762
+ public static function provideInvalidNumericCodes ()
763
763
{
764
764
$ validNumericCodes = array_keys ($ this ->getNumericToAlpha3Mapping ());
765
765
$ invalidNumericCodes = array_diff (range (0 , 1000 ), $ validNumericCodes );
0 commit comments