mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-12-01 03:16:45 +00:00
b5ab3bac24
Bug: T338435 Change-Id: I7c2cb3ca5e38ce974187af316bf30e71b8e4ad49
28 lines
503 B
PHP
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;
|