mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2025-01-19 07:55:51 +00:00
e9208739b6
Change-Id: Ie8aee5326c4217e151dee816bc5a3d6b71bf6aa2
13 lines
423 B
PHP
13 lines
423 B
PHP
<?php
|
|
|
|
$cfg = require __DIR__ . '/../../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
|
|
|
$cfg['suppress_issue_types'][] = 'PhanDeprecatedFunction';
|
|
// Phan gets confused because DOMNode::setAttribute doesn't
|
|
// exist, it's DOMElement::setAttribute, and some functions
|
|
// are documented to return DOMNode but they actually return
|
|
// DOMElement.
|
|
$cfg['suppress_issue_types'][] = 'PhanUndeclaredMethod';
|
|
|
|
return $cfg;
|