2021-02-22 23:24:09 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
|
|
|
|
2021-10-01 22:52:30 +00:00
|
|
|
$cfg['directory_list'] = array_merge(
|
|
|
|
$cfg['directory_list'], [
|
|
|
|
'../../extensions/Variables',
|
|
|
|
]
|
|
|
|
);
|
2021-02-22 23:24:09 +00:00
|
|
|
|
2021-10-01 22:52:30 +00:00
|
|
|
$cfg['exclude_analysis_directory_list'] = array_merge(
|
|
|
|
$cfg['exclude_analysis_directory_list'], [
|
|
|
|
'../../extensions/Variables',
|
|
|
|
]
|
|
|
|
);
|
|
|
|
|
|
|
|
$cfg['suppress_issue_types'] = [
|
2024-02-16 23:03:22 +00:00
|
|
|
// Temporary
|
|
|
|
'MediaWikiNoEmptyIfDefined',
|
2021-10-01 22:52:30 +00:00
|
|
|
'SecurityCheck-LikelyFalsePositive',
|
|
|
|
'PhanAccessMethodInternal',
|
|
|
|
];
|
2021-02-22 23:24:09 +00:00
|
|
|
|
|
|
|
return $cfg;
|