Merge "build: Updating composer dependencies"

This commit is contained in:
jenkins-bot 2023-03-20 15:20:14 +00:00 committed by Gerrit Code Review
commit b3789a9749
2 changed files with 4 additions and 2 deletions

View file

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

View file

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