mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-12-01 03:16:45 +00:00
Suppress PhanUndeclaredProperty phan errors
For `\Parser->extTemplateStylesCache`, which is similar to Scribunto's `\Parser->scribunto_engine`, which we also suppress. Change-Id: If25dc88407ba33c09875577231a75b16d9cba8e7
This commit is contained in:
parent
1e845b0578
commit
08cc84f3d0
|
@ -1,3 +1,13 @@
|
|||
<?php
|
||||
|
||||
return require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.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;
|
||||
|
|
Loading…
Reference in a new issue