mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-11-23 13:56:46 +00:00
build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I4ca71737ae99fe58139f9e9e69129c83334c502b
This commit is contained in:
parent
0c88ab1abd
commit
b2463a3c11
|
@ -13,7 +13,7 @@
|
|||
"composer/installers": "1.*,>=1.0.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.14.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||
|
@ -34,7 +34,8 @@
|
|||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"composer/installers": true
|
||||
"composer/installers": true,
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ class ParsoidImageMap extends ExtensionTagHandler implements ExtensionModule {
|
|||
$image = $bits[0];
|
||||
$options = '';
|
||||
} else {
|
||||
list( $image, $options ) = $bits;
|
||||
[ $image, $options ] = $bits;
|
||||
$options = '|' . $options;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue