镜像自地址
https://github.com/wikimedia/mediawiki-extensions-Disambiguator
已同步 2024-05-06 14:28:16 +08:00
tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745) Bug: T332865 Change-Id: I845972941b3e0c330a59edef72c3b90902a8b722
这个提交包含在:
父节点
cb391a0a4a
当前提交
27bfaf2803
|
@ -25,7 +25,7 @@ class ServiceWiringTest extends MediaWikiIntegrationTestCase {
|
|||
$this->addToAssertionCount( 1 );
|
||||
}
|
||||
|
||||
public function provideService() {
|
||||
public static function provideService() {
|
||||
$wiring = require __DIR__ . '/../../includes/ServiceWiring.php';
|
||||
foreach ( $wiring as $name => $_ ) {
|
||||
yield $name => [ $name ];
|
||||
|
|
正在加载...
在新工单中引用
屏蔽一个用户