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

Change-Id: Ic857959b35f31be8a963e1889b6d79b54dbd3855
This commit is contained in:
libraryupgrader 2022-10-09 04:34:41 +00:00 committed by Daimona Eaytoy
parent 43f80d6802
commit eb99f12bce
2 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"require-dev": { "require-dev": {
"mediawiki/mediawiki-codesniffer": "39.0.0", "mediawiki/mediawiki-codesniffer": "39.0.0",
"mediawiki/mediawiki-phan-config": "0.11.1", "mediawiki/mediawiki-phan-config": "0.12.0",
"mediawiki/minus-x": "1.1.1", "mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "1.0.0", "php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2" "php-parallel-lint/php-parallel-lint": "1.3.2"

View file

@ -102,7 +102,6 @@ abstract class GadgetRepo {
if ( self::$instance === null ) { if ( self::$instance === null ) {
// @todo use Config here // @todo use Config here
global $wgGadgetsRepoClass; global $wgGadgetsRepoClass;
// @phan-suppress-next-line PhanPossiblyUndeclaredVariable
self::$instance = new $wgGadgetsRepoClass(); self::$instance = new $wgGadgetsRepoClass();
} }
return self::$instance; return self::$instance;