build: Updating composer dependencies

* 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
This commit is contained in:
libraryupgrader 2021-09-08 17:58:21 +00:00 committed by Taavi Väänänen
parent a1e1c983e5
commit 0c23e8e620
No known key found for this signature in database
GPG key ID: EF242F709F912FBE
2 changed files with 2 additions and 3 deletions

View file

@ -1,10 +1,10 @@
{ {
"require-dev": { "require-dev": {
"mediawiki/mediawiki-codesniffer": "37.0.0", "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", "mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0", "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": { "scripts": {
"fix": [ "fix": [

View file

@ -50,7 +50,6 @@ class ApiCategoryTree extends ApiBase {
$ct = new CategoryTree( $options ); $ct = new CategoryTree( $options );
$depth = CategoryTree::capDepth( $ct->getOption( 'mode' ), $depth ); $depth = CategoryTree::capDepth( $ct->getOption( 'mode' ), $depth );
$ctConfig = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'categorytree' ); $ctConfig = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'categorytree' );
// @phan-suppress-next-line PhanTypeMismatchArgumentNullable T240141
$html = $this->getHTML( $ct, $title, $depth, $ctConfig ); $html = $this->getHTML( $ct, $title, $depth, $ctConfig );
$this->getMain()->setCacheMode( 'public' ); $this->getMain()->setCacheMode( 'public' );