From fd09887a48fd279f1e49245dca2439ea80dff20f Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sun, 23 Jul 2017 00:23:06 -0700 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 0.10.1 Change-Id: I38ce5579c75d58f0ab1adfe3883732813fad938f --- Gadgets_body.php | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gadgets_body.php b/Gadgets_body.php index c0032cff..dc37a5f8 100644 --- a/Gadgets_body.php +++ b/Gadgets_body.php @@ -112,7 +112,7 @@ class Gadget { * @return bool */ public static function isValidGadgetID( $id ) { - return strlen( $id ) > 0 && ResourceLoader::isValidModuleName( Gadget::getModuleName( $id ) ); + return strlen( $id ) > 0 && ResourceLoader::isValidModuleName( self::getModuleName( $id ) ); } /** diff --git a/composer.json b/composer.json index 8599d9b0..1c2721a8 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", "jakub-onderka/php-console-highlighter": "0.3.2", - "mediawiki/mediawiki-codesniffer": "0.10.0" + "mediawiki/mediawiki-codesniffer": "0.10.1" }, "scripts": { "fix": "phpcbf",