mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-11-27 15:40:03 +00:00
eadde54449
Bug: T216921 Change-Id: I6bb5c8e855a191cae7bddbf8a5f23da5c033045f
12 lines
361 B
PHP
12 lines
361 B
PHP
<?php
|
|
|
|
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
|
|
|
// 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;
|