mediawiki-extensions-ImageMap/.phan/config.php
zoranzoki21 eadde54449 Upgrade ImageMap extension to use newer phan
Bug: T216921
Change-Id: I6bb5c8e855a191cae7bddbf8a5f23da5c033045f
2019-03-11 19:46:47 +00:00

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;