mediawiki-extensions-ImageMap/tests/phan/config.php
Kunal Mehta 91b148624e build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: Ic5d7e1bc992a5954c5d7c938fae2066ac078068c
2018-04-05 13:27:40 -07:00

12 lines
364 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;