Merge "Add phan"

This commit is contained in:
jenkins-bot 2019-05-09 08:55:11 +00:00 committed by Gerrit Code Review
commit c9d9528245
2 changed files with 20 additions and 1 deletions

18
.phan/config.php Normal file
View file

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

View file

@ -3,7 +3,8 @@
"jakub-onderka/php-parallel-lint": "1.0.0",
"mediawiki/mediawiki-codesniffer": "24.0.0",
"jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/minus-x": "0.3.1"
"mediawiki/minus-x": "0.3.1",
"mediawiki/mediawiki-phan-config": "0.5.0"
},
"scripts": {
"test": [