mediawiki-extensions-Confir.../.phan/config.php
Florian fb4c5d5692 Remove last rests of recaptcha in phan config
Change-Id: I0e4320beb60f3a2cc6e69dbbc20983cd372817a3
2019-12-21 20:55:00 +01:00

28 lines
544 B
PHP

<?php
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'FancyCaptcha/',
'MathCaptcha/',
'QuestyCaptcha/',
'ReCaptchaNoCaptcha/',
'SimpleCaptcha/',
'../../extensions/Math',
]
);
$cfg['exclude_analysis_directory_list'] = array_merge(
$cfg['exclude_analysis_directory_list'],
[
'../../extensions/Math',
]
);
// WikiPage->ConfirmEdit_ActivateCaptcha
$cfg['suppress_issue_types'][] = 'PhanUndeclaredProperty';
return $cfg;