mediawiki-extensions-WikiEd.../tests/phan/config.php

25 lines
576 B
PHP
Raw Normal View History

<?php
$cfg = require __DIR__ . '/../../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'./../../extensions/EventLogging',
'./../../extensions/WikimediaEvents',
]
);
$cfg['exclude_analysis_directory_list'] = array_merge(
$cfg['exclude_analysis_directory_list'],
[
'./../../extensions/EventLogging',
'./../../extensions/WikimediaEvents',
]
);
// \WikiPage->ConfirmEdit_ActivateCaptcha not exist is a false-positive
$cfg['suppress_issue_types'][] = 'PhanUndeclaredProperty';
return $cfg;