build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0

Change-Id: I4ca71737ae99fe58139f9e9e69129c83334c502b
This commit is contained in:
Umherirrender 2024-03-11 19:24:14 +01:00
parent 0c88ab1abd
commit b2463a3c11
2 changed files with 4 additions and 3 deletions

View file

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

View file

@ -108,7 +108,7 @@ class ParsoidImageMap extends ExtensionTagHandler implements ExtensionModule {
$image = $bits[0];
$options = '';
} else {
list( $image, $options ) = $bits;
[ $image, $options ] = $bits;
$options = '|' . $options;
}