diff --git a/composer.json b/composer.json index 91c630406..eff2a816e 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.10.1", + "mediawiki/mediawiki-codesniffer": "0.11.0", "jakub-onderka/php-console-highlighter": "0.3.2" }, "scripts": { diff --git a/includes/PopupsGadgetsIntegration.php b/includes/PopupsGadgetsIntegration.php index 259931ef6..3d2b4414b 100644 --- a/includes/PopupsGadgetsIntegration.php +++ b/includes/PopupsGadgetsIntegration.php @@ -49,7 +49,7 @@ class PopupsGadgetsIntegration { * @param ExtensionRegistry $extensionRegistry MediaWiki extension registry */ public function __construct( Config $config, ExtensionRegistry $extensionRegistry ) { - $this->extensionRegistry = $extensionRegistry; + $this->extensionRegistry = $extensionRegistry; $this->navPopupsGadgetName = $this->sanitizeGadgetName( $config->get( self::CONFIG_NAVIGATION_POPUPS_NAME ) ); } diff --git a/phpcs.xml b/phpcs.xml index 1a3c9e9e2..3fa604a74 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,6 +1,7 @@ - + + .