tests: Make PHPUnit data providers static

Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I47b6b34d1e6159b51c14d9a5a2d21242dfbf8fff
This commit is contained in:
Umherirrender 2023-05-20 14:12:37 +02:00
parent e997750927
commit 6b7d6f91c3

View file

@ -158,7 +158,7 @@ class TemplateStylesContentHandlerTest extends MediaWikiLangTestCase {
);
}
public function provideSizeLimit() {
public static function provideSizeLimit() {
$long = str_repeat( 'X', 102400 );
return [