From 8fe3da853ed98606f787729c6ee051d11ce5a77e Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Wed, 26 Jul 2017 23:15:10 +0200 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 0.10.1 Change-Id: I66b497f2afbb966465d084bf6d0a8e5e26917d57 --- WikiEditor.hooks.php | 6 +++--- composer.json | 2 +- phpcs.xml | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/WikiEditor.hooks.php b/WikiEditor.hooks.php index 084584da..3feb713b 100644 --- a/WikiEditor.hooks.php +++ b/WikiEditor.hooks.php @@ -298,7 +298,7 @@ class WikiEditorHooks { */ public static function resourceLoaderGetConfigVars( &$vars ) { // expose magic words for use by the wikieditor toolbar - WikiEditorHooks::getMagicWords( $vars ); + self::getMagicWords( $vars ); $vars['mw.msg.wikieditor'] = wfMessage( 'sig-text', '~~~~' )->inContentLanguage()->text(); @@ -382,7 +382,7 @@ class WikiEditorHooks { * * @param EditPage $editPage * @param Status $status - * @return boolean + * @return bool */ public static function editPageAttemptSave( EditPage $editPage ) { $article = $editPage->getArticle(); @@ -403,7 +403,7 @@ class WikiEditorHooks { * * @param EditPage $editPage * @param Status $status - * @return boolean + * @return bool */ public static function editPageAttemptSaveAfter( EditPage $editPage, Status $status ) { $article = $editPage->getArticle(); diff --git a/composer.json b/composer.json index a8fa313b..8e34fa52 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "license": "GPL-2.0+", "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", - "mediawiki/mediawiki-codesniffer": "0.10.0", + "mediawiki/mediawiki-codesniffer": "0.10.1", "jakub-onderka/php-console-highlighter": "0.3.2" }, "scripts": { diff --git a/phpcs.xml b/phpcs.xml index c59bea45..cb559ef4 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -11,6 +11,5 @@ . - - vendor +