From e4d9f1ea3ea445d889efcb32ac3cf885ea82f900 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Fri, 11 Oct 2019 10:38:12 -0700 Subject: [PATCH] build: Upgrade mediawiki-codesniffer to v28.0.0 Change-Id: Ide491f1971a4fe323f82eb5812a42fce990ddbd5 --- .phpcs.xml | 5 ++++- composer.json | 2 +- tests/phpunit/LoginNotifyTest.php | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index 3839d78..bea9751 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,6 +1,9 @@ - + + + + . diff --git a/composer.json b/composer.json index 846c716..7d562b0 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "description": "MediaWiki extension to notify users if someone tries to login to their account", "require-dev": { "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "26.0.0", + "mediawiki/mediawiki-codesniffer": "28.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/minus-x": "0.3.1", "mediawiki/mediawiki-phan-config": "0.6.1" diff --git a/tests/phpunit/LoginNotifyTest.php b/tests/phpunit/LoginNotifyTest.php index d5a8f2c..135bd5d 100644 --- a/tests/phpunit/LoginNotifyTest.php +++ b/tests/phpunit/LoginNotifyTest.php @@ -1,7 +1,7 @@ inst->setLogger( new NullLogger ); } - public function setUp() { + public function setUp() : void { parent::setUp(); $this->setUpLoginNotify(); }