build: Updating mediawiki/mediawiki-codesniffer to 37.0.0

Change-Id: Id3f23569f8c6726382dfc1723516ce093df9adb6
This commit is contained in:
libraryupgrader 2021-07-23 22:37:22 +00:00
parent 78c954f270
commit 3b79f98ba8
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "36.0.0",
"mediawiki/mediawiki-codesniffer": "37.0.0",
"mediawiki/mediawiki-phan-config": "0.10.6",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",

View file

@ -71,7 +71,7 @@ class SpamBlacklistTest extends MediaWikiTestCase {
$this->assertEquals( $expected, $returnValue );
}
protected function setUp() : void {
protected function setUp(): void {
parent::setUp();
$this->setMwGlobals( 'wgBlacklistSettings', [
@ -94,7 +94,7 @@ class SpamBlacklistTest extends MediaWikiTestCase {
$reflProp->setValue( $instance, false );
}
protected function tearDown() : void {
protected function tearDown(): void {
MediaWikiServices::getInstance()->getMessageCache()->disable();
parent::tearDown();
}