Seen at https://travis-ci.org/JeroenDeDauw/Maps/builds/310575460
Running tests/phpunit/phpunit.php with PHP 7.2 results in a bunch of warnings and a fatal error:
PHP Fatal error: Declaration of PHPUnit_Framework_Comparator_DOMDocument::assertEquals($expected, $actual, $delta = 0, $canonicalize = false, $ignoreCase = false) must be compatible with PHPUnit_Framework_Comparator_Object::assertEquals($expected, $actual, $delta = 0, $canonicalize = false, $ignoreCase = false, array &$processed = Array) in /home/travis/build/JeroenDeDauw/phase3/extensions/Maps/vendor/phpunit/phpunit/PHPUnit/Framework/Comparator/DOMDocument.php on line 114
Presumed cause: MediaWiki master uses PHPUnit 4 which has been unsupported since February 2017 and breaks with the latest stable release of PHP.