build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: I7b00bf0beb47f54c4543de0d605c80ebdd6cdb4d
This commit is contained in:
Kunal Mehta 2017-08-11 00:21:26 -04:00
parent afb2db82ad
commit 05fafbf8ba
3 changed files with 4 additions and 3 deletions

View file

@ -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": {

View file

@ -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 ) );
}

View file

@ -1,6 +1,7 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
<arg name="encoding" value="UTF-8" />