mediawiki-extensions-Templa.../.phan/config.php
Umherirrender b5ab3bac24 Use HookHandlers for CodeEditor hook
Bug: T338435
Change-Id: I7c2cb3ca5e38ce974187af316bf30e71b8e4ad49
2023-11-06 12:00:18 -05:00

28 lines
503 B
PHP

<?php
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['suppress_issue_types'] = array_merge(
$cfg['suppress_issue_types'],
[
// \Parser->extTemplateStylesCache
'PhanUndeclaredProperty',
]
);
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'../../extensions/CodeEditor',
]
);
$cfg['exclude_analysis_directory_list'] = array_merge(
$cfg['exclude_analysis_directory_list'],
[
'../../extensions/CodeEditor',
]
);
return $cfg;