mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 17:51:00 +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",
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||||
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
||||||
"mediawiki/minus-x": "0.3.2",
|
"mediawiki/minus-x": "0.3.2",
|
||||||
"mediawiki/mediawiki-phan-config": "0.8.0"
|
"mediawiki/mediawiki-phan-config": "0.9.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"fix": [
|
"fix": [
|
||||||
|
|
|
@ -44,6 +44,7 @@ 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' );
|
||||||
|
|
Loading…
Reference in a new issue