diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2023-05-20 00:32:30 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2023-05-20 01:05:27 +0200 |
commit | d36073cdcf15cc4cfa1d3e5010082d4f0e87b77c (patch) | |
tree | b0cde754a540f46f82367d30fe1d9f6ae7d1a773 /tests/phpunit/includes/language/LanguageIntegrationTest.php | |
parent | c4cdffcd49bf5949790f5c18e359e0305fe60ff1 (diff) | |
download | mediawikicore-d36073cdcf15cc4cfa1d3e5010082d4f0e87b77c.tar.gz mediawikicore-d36073cdcf15cc4cfa1d3e5010082d4f0e87b77c.zip |
tests: Make some PHPUnit data providers static
Initally used a new sniff with autofix (T333745),
but some provide are defined non-static in TestBase class
and need more work to make them static in a compatible way
Bug: T332865
Change-Id: I889d33424f0c01fb26f2d86f8d4fc3de3e568843
Diffstat (limited to 'tests/phpunit/includes/language/LanguageIntegrationTest.php')
-rw-r--r-- | tests/phpunit/includes/language/LanguageIntegrationTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/language/LanguageIntegrationTest.php b/tests/phpunit/includes/language/LanguageIntegrationTest.php index 4d41443104fa..1cd938de6a3e 100644 --- a/tests/phpunit/includes/language/LanguageIntegrationTest.php +++ b/tests/phpunit/includes/language/LanguageIntegrationTest.php @@ -1683,7 +1683,7 @@ class LanguageIntegrationTest extends LanguageClassesTestCase { $this->assertEquals( $number, $normalisedNum ); } - public function parseFormattedNumberProvider() { + public static function parseFormattedNumberProvider() { return [ [ 'de', 377.01 ], [ 'fa', 334 ], |