From 3b79f98ba8b13cb65c04bc08a0b5399a3d73c403 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Fri, 23 Jul 2021 22:37:22 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 37.0.0 Change-Id: Id3f23569f8c6726382dfc1723516ce093df9adb6 --- composer.json | 2 +- tests/phpunit/SpamBlacklistTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 044edbb3..2bf36d48 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/tests/phpunit/SpamBlacklistTest.php b/tests/phpunit/SpamBlacklistTest.php index 8b36d129..04f47380 100644 --- a/tests/phpunit/SpamBlacklistTest.php +++ b/tests/phpunit/SpamBlacklistTest.php @@ -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(); }