From 0c23e8e620512d7406afd5cf43c0dca6eac07fd9 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Wed, 8 Sep 2021 17:58:21 +0000 Subject: [PATCH] build: Updating composer dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0 * php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1 Change-Id: I9d26e128cc02d1057b639547e396235e4c3a5a3a --- composer.json | 4 ++-- includes/ApiCategoryTree.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index beecd429..7bcdaaca 100644 --- a/composer.json +++ b/composer.json @@ -1,10 +1,10 @@ { "require-dev": { "mediawiki/mediawiki-codesniffer": "37.0.0", - "mediawiki/mediawiki-phan-config": "0.10.6", + "mediawiki/mediawiki-phan-config": "0.11.0", "mediawiki/minus-x": "1.1.1", "php-parallel-lint/php-console-highlighter": "0.5.0", - "php-parallel-lint/php-parallel-lint": "1.3.0" + "php-parallel-lint/php-parallel-lint": "1.3.1" }, "scripts": { "fix": [ diff --git a/includes/ApiCategoryTree.php b/includes/ApiCategoryTree.php index edcdef54..e65233ed 100644 --- a/includes/ApiCategoryTree.php +++ b/includes/ApiCategoryTree.php @@ -50,7 +50,6 @@ class ApiCategoryTree extends ApiBase { $ct = new CategoryTree( $options ); $depth = CategoryTree::capDepth( $ct->getOption( 'mode' ), $depth ); $ctConfig = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'categorytree' ); - // @phan-suppress-next-line PhanTypeMismatchArgumentNullable T240141 $html = $this->getHTML( $ct, $title, $depth, $ctConfig ); $this->getMain()->setCacheMode( 'public' );