mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
Merge "build: Updating composer dependencies"
This commit is contained in:
commit
b3789a9749
|
@ -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