build: Updating mediawiki/mediawiki-codesniffer to 37.0.0

Change-Id: Id55b598a81bd22cbe0f415f32fd28ba3825bf61e
This commit is contained in:
libraryupgrader 2021-07-22 09:18:47 +00:00
parent e43aa2629a
commit b5e7230698
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

@ -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();
}