aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/content/WikitextContentHandlerTest.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2023-05-20 00:32:30 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2023-05-20 01:05:27 +0200
commitd36073cdcf15cc4cfa1d3e5010082d4f0e87b77c (patch)
treeb0cde754a540f46f82367d30fe1d9f6ae7d1a773 /tests/phpunit/unit/includes/content/WikitextContentHandlerTest.php
parentc4cdffcd49bf5949790f5c18e359e0305fe60ff1 (diff)
downloadmediawikicore-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/unit/includes/content/WikitextContentHandlerTest.php')
-rw-r--r--tests/phpunit/unit/includes/content/WikitextContentHandlerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/unit/includes/content/WikitextContentHandlerTest.php b/tests/phpunit/unit/includes/content/WikitextContentHandlerTest.php
index 6b5ea76b6f82..aa0eb54612b1 100644
--- a/tests/phpunit/unit/includes/content/WikitextContentHandlerTest.php
+++ b/tests/phpunit/unit/includes/content/WikitextContentHandlerTest.php
@@ -208,7 +208,7 @@ class WikitextContentHandlerTest extends MediaWikiUnitTestCase {
$method->invokeArgs( $handler, [ $content, $cpoParams, &$parserOutput ] );
}
- public function provideFillParserOutput() {
+ public static function provideFillParserOutput() {
return [ [ false ], [ true ] ];
}
}