mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-21 02:22:51 +00:00
49d5c26c08
Avoids requiring a dependency on the BetaFeatures extension. Tell the phan config to include the BetaFeatures checkout so it'll pass on that file, though. (Same as DiscussionTools.) Change-Id: I258d3be59ea9cf0a798d93f0f8b1fd18a455d45a
20 lines
357 B
PHP
20 lines
357 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',
|
|
]
|
|
);
|
|
|
|
return $cfg;
|