mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-15 12:00:05 +00:00
5f53eb3a2c
Bug: T216951 Change-Id: I05416b7244bf55a600d508ca253fec8410abbbc7
25 lines
565 B
PHP
25 lines
565 B
PHP
<?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;
|