mediawiki-extensions-Templa.../.phan/config.php

28 lines
503 B
PHP
Raw Normal View History

<?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;