mediawiki-extensions-Confir.../.phan/config.php
Kosta Harlan 41fbcb2963
phan: Load AbuseFilter in phan config
See I76e8ce9c1533ca8ad47abb1ffd2e683cc85b78aa for CI config change

Change-Id: Iecea4af54b972637fb2c4c2ce234708f8eb4e4b9
2024-05-05 11:46:45 +03:00

25 lines
454 B
PHP

<?php
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'FancyCaptcha/',
'hCaptcha/',
'QuestyCaptcha/',
'ReCaptchaNoCaptcha/',
'SimpleCaptcha/',
'../../extensions/AbuseFilter',
]
);
$cfg['exclude_analysis_directory_list'] = array_merge(
$cfg['exclude_analysis_directory_list'],
[
'../../extensions/AbuseFilter',
]
);
return $cfg;