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/integration/GadgetHooksTest.php b/tests/phpunit/integration/GadgetHooksTest.php index 8b034b18..28c1f026 100644 --- a/tests/phpunit/integration/GadgetHooksTest.php +++ b/tests/phpunit/integration/GadgetHooksTest.php @@ -11,7 +11,7 @@ class GadgetHooksTest extends MediaWikiIntegrationTestCase { */ protected $user; - public function setUp() : void { + public function setUp(): void { global $wgGroupPermissions; parent::setUp(); @@ -22,7 +22,7 @@ class GadgetHooksTest extends MediaWikiIntegrationTestCase { $this->user = $this->getTestUser( [ 'unittesters' ] )->getUser(); } - public function tearDown() : void { + public function tearDown(): void { GadgetRepo::setSingleton(); parent::tearDown(); }