mediawiki-extensions-Scribunto/.phan/config.php
Reedy f386ff68d5 Remove PHP entry point
Move NS constants to seperate file for static analysis

Bug: T140007
Change-Id: I525c6e5b1c8e934d179e330c89f3f29cce335bd6
2019-06-21 00:02:08 +00:00

32 lines
649 B
PHP

<?php
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['file_list'][] = 'Scribunto.constants.php';
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'vendor/mediawiki/lua-sandbox/stubs',
'../../extensions/SyntaxHighlight_GeSHi',
]
);
$cfg['exclude_analysis_directory_list'] = array_merge(
$cfg['exclude_analysis_directory_list'],
[
'vendor/mediawiki/lua-sandbox/stubs',
'../../extensions/SyntaxHighlight_GeSHi',
]
);
$cfg['suppress_issue_types'] = array_merge(
$cfg['suppress_issue_types'],
[
// \Parser->scribunto_engine
'PhanUndeclaredProperty',
]
);
return $cfg;