Upgrade to newer phan

Bug: T216928
Change-Id: I2b812745176550616c8d37859f2ad29cdf8fd4c3
This commit is contained in:
Kunal Mehta 2019-03-17 16:14:02 -07:00
parent 8ec3cc3895
commit 60d08ba00b
3 changed files with 4 additions and 5 deletions

1
.gitignore vendored
View file

@ -2,4 +2,3 @@ docs/
node_modules/
vendor/
/composer.lock
tests/phan/issues

View file

@ -1,18 +1,18 @@
<?php
$cfg = require __DIR__ . '/../../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'./../../extensions/BetaFeatures',
'../../extensions/BetaFeatures',
]
);
$cfg['exclude_analysis_directory_list'] = array_merge(
$cfg['exclude_analysis_directory_list'],
[
'./../../extensions/BetaFeatures',
'../../extensions/BetaFeatures',
]
);

View file

@ -4,7 +4,7 @@
"jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/mediawiki-codesniffer": "24.0.0",
"mediawiki/minus-x": "0.3.1",
"mediawiki/mediawiki-phan-config": "0.3.0"
"mediawiki/mediawiki-phan-config": "0.5.0"
},
"scripts": {
"fix": [