mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0 * mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0 Change-Id: I58715f1303b6c709f73b618abbfcef2b817531df
This commit is contained in:
parent
6d2e4d5d37
commit
1c3a85d9b0
|
@ -33,8 +33,8 @@
|
|||
"installer-name": "Vector"
|
||||
},
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "39.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.11.1",
|
||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.12.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
||||
|
|
|
@ -182,6 +182,7 @@ class Hooks implements
|
|||
private static function updateViewsMenuIcons( &$content_navigation, $isLegacy ) {
|
||||
$featureManager = VectorServices::getFeatureManager();
|
||||
|
||||
// @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset
|
||||
foreach ( $content_navigation['views'] as $key => $item ) {
|
||||
$icon = $item['icon'] ?? null;
|
||||
if ( $icon ) {
|
||||
|
@ -548,6 +549,7 @@ class Hooks implements
|
|||
private static function createMoreOverflowMenu( &$content_navigation ) {
|
||||
$clonedViews = [];
|
||||
foreach ( array_keys( $content_navigation['views'] ?? [] ) as $key ) {
|
||||
// @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset
|
||||
$newItem = $content_navigation['views'][$key];
|
||||
self::makeMenuItemCollapsible(
|
||||
$newItem,
|
||||
|
|
Loading…
Reference in a new issue