mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
08b33b2a7d
Bug: T271034 Change-Id: I74ca4a6645c05795c83df5474314d3d1dc556eb0
22 lines
453 B
PHP
22 lines
453 B
PHP
<?php
|
|
|
|
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
|
|
|
$cfg['directory_list'] = array_merge(
|
|
$cfg['directory_list'],
|
|
[
|
|
'../../extensions/BetaFeatures',
|
|
]
|
|
);
|
|
|
|
$cfg['exclude_analysis_directory_list'] = array_merge(
|
|
$cfg['exclude_analysis_directory_list'],
|
|
[
|
|
'../../extensions/BetaFeatures',
|
|
# Don't analyze imported Parsoid code, it uses a different phan config
|
|
'includes/VEParsoid'
|
|
]
|
|
);
|
|
|
|
return $cfg;
|