mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 09:43:06 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes: * Added .eslintcache to .gitignore. Change-Id: I74187354a1cbb7703e446752d7ab4500e993e3e8
This commit is contained in:
parent
bc24f21c9d
commit
cdb24f697e
|
@ -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": [
|
||||
|
|
|
@ -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' );
|
||||
|
|
Loading…
Reference in a new issue