From 1ca3dd57bebf5968ada20a8888cef58074a21818 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Fri, 29 Dec 2017 23:28:16 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 Change-Id: I11e6d584932dbde52fc5e5d463029270976a47df --- composer.json | 2 +- includes/Cite.php | 3 +-- includes/CiteDataModule.php | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 4b3787d6d..4d0f4c5d9 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", - "mediawiki/mediawiki-codesniffer": "14.1.0", + "mediawiki/mediawiki-codesniffer": "15.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/minus-x": "0.2.1" }, diff --git a/includes/Cite.php b/includes/Cite.php index ef569fee2..dbd89a15d 100644 --- a/includes/Cite.php +++ b/includes/Cite.php @@ -1047,8 +1047,7 @@ class Cite { global $wgContLang; $label = is_null( $label ) ? ++$this->mGroupCnt[$group] : $label; - return - $this->mParser->recursiveTagParse( + return $this->mParser->recursiveTagParse( wfMessage( 'cite_reference_link', $this->normalizeKey( diff --git a/includes/CiteDataModule.php b/includes/CiteDataModule.php index 9e6631328..1aa515d5f 100644 --- a/includes/CiteDataModule.php +++ b/includes/CiteDataModule.php @@ -40,8 +40,7 @@ class CiteDataModule extends ResourceLoaderModule { } } - return - 've.init.platform.addMessages(' . FormatJson::encode( + return 've.init.platform.addMessages(' . FormatJson::encode( [ 'cite-tool-definition.json' => json_encode( $citationTools ) ],