mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-12-04 20:59:00 +00:00
08cc84f3d0
For `\Parser->extTemplateStylesCache`, which is similar to Scribunto's `\Parser->scribunto_engine`, which we also suppress. Change-Id: If25dc88407ba33c09875577231a75b16d9cba8e7
14 lines
257 B
PHP
14 lines
257 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',
|
|
]
|
|
);
|
|
|
|
return $cfg;
|