build: Updating mediawiki/mediawiki-phan-config to 0.9.0

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I74187354a1cbb7703e446752d7ab4500e993e3e8
This commit is contained in:
libraryupgrader 2019-12-21 00:26:03 +00:00 committed by Daimona Eaytoy
parent bc24f21c9d
commit cdb24f697e
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@
"jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/mediawiki-codesniffer": "28.0.0",
"mediawiki/minus-x": "0.3.2",
"mediawiki/mediawiki-phan-config": "0.8.0"
"mediawiki/mediawiki-phan-config": "0.9.0"
},
"scripts": {
"fix": [

View file

@ -44,6 +44,7 @@ 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' );