From 638633216abf6c5583f0f5c7facf4fe2313e035a Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Fri, 1 Sep 2017 04:48:56 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 The following sniffs are failing and were disabled: * MediaWiki.Files.ClassMatchesFilename.NotMatch * MediaWiki.Files.ClassMatchesFilename.WrongCase * MediaWiki.Files.OneClassPerFile.MultipleFound Change-Id: I7cbf305fae765dbf68df07f84992c2d5ed5486c6 --- composer.json | 2 +- includes/NotifUser.php | 2 +- phpcs.xml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index eff2a816e..789872346 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", - "mediawiki/mediawiki-codesniffer": "0.11.0", + "mediawiki/mediawiki-codesniffer": "0.12.0", "jakub-onderka/php-console-highlighter": "0.3.2" }, "scripts": { diff --git a/includes/NotifUser.php b/includes/NotifUser.php index 526317fe8..d55207c18 100644 --- a/includes/NotifUser.php +++ b/includes/NotifUser.php @@ -543,7 +543,7 @@ class MWEchoNotifUser { /** * Get a cache entry from the cache, using a preloaded instance cache. - * @param string|false $memcKey Cache key returned by getMemcKey() + * @param string|false $memcKey Cache key returned by getMemcKey() * @return mixed Cache value */ protected function getFromCache( $memcKey ) { diff --git a/phpcs.xml b/phpcs.xml index cfcae9004..2adc8f657 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -8,6 +8,9 @@ + + +