mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I6b1cae8b9cc7a99e839e86f2db3f8d9e9b3ee546
This commit is contained in:
parent
c555fd4840
commit
407a1011e9
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"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",
|
||||
|
@ -18,5 +18,10 @@
|
|||
],
|
||||
"phan": "phan -d . --long-progress-bar",
|
||||
"phpcs": "phpcs -sp --cache"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,9 +71,7 @@ class PopupsHooks implements
|
|||
// FIXME: If the module ext.cite.referencePreviews does not exist register reference previews.
|
||||
// This code can be removed once T355194 is complete.
|
||||
$others = $rl->getModule( 'ext.cite.referencePreviews' ) ?
|
||||
[] : [
|
||||
'ext.popups.referencePreviews'
|
||||
];
|
||||
[] : [ 'ext.popups.referencePreviews' ];
|
||||
|
||||
return array_merge( ExtensionRegistry::getInstance()->getAttribute(
|
||||
'PopupsPluginModules'
|
||||
|
|
Loading…
Reference in a new issue