When MedaiInfo is enabled then there are lots of errors with the new UpdaterTest in CirrusSearch
PHPUnit 6.5.13 by Sebastian Bergmann and contributors. EEEEEEEEEEEEEEEEEE.. 20 / 20 (100%) Time: 17.89 seconds, Memory: 48.00MB There were 18 errors: 1) CirrusSearch\UpdaterTest::testDisplayTitle with data set "null when no display title is set" (null, Title Object (...), false) TypeError: Argument 3 passed to Wikibase\MediaInfo\WikibaseMediaInfoHooks::onCirrusSearchBuildDocumentParse() must be an instance of AbstractContent, null given, called in /vagrant/mediawiki/includes/Hooks.php on line 174 /vagrant/mediawiki/extensions/WikibaseMediaInfo/src/WikibaseMediaInfoHooks.php:342 /vagrant/mediawiki/includes/Hooks.php:174 /vagrant/mediawiki/includes/Hooks.php:202 /vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:368 /vagrant/mediawiki/extensions/CirrusSearch/tests/phpunit/UpdaterTest.php:95 /vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:409 /vagrant/mediawiki/maintenance/doMaintenance.php:94 2) CirrusSearch\UpdaterTest::testDisplayTitle with data set "null when display title matches normal title (ns_main)" (null, Title Object (...), 'Phpunit') TypeError: Argument 3 passed to Wikibase\MediaInfo\WikibaseMediaInfoHooks::onCirrusSearchBuildDocumentParse() must be an instance of AbstractContent, null given, called in /vagrant/mediawiki/includes/Hooks.php on line 174 /vagrant/mediawiki/extensions/WikibaseMediaInfo/src/WikibaseMediaInfoHooks.php:342 /vagrant/mediawiki/includes/Hooks.php:174 /vagrant/mediawiki/includes/Hooks.php:202 /vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:368 /vagrant/mediawiki/extensions/CirrusSearch/tests/phpunit/UpdaterTest.php:95 /vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:409 /vagrant/mediawiki/maintenance/doMaintenance.php:94 3) CirrusSearch\UpdaterTest::testDisplayTitle with data set "null when display title matches normal title without namespace prefix" (null, Title Object (...), 'Phpunit') TypeError: Argument 3 passed to Wikibase\MediaInfo\WikibaseMediaInfoHooks::onCirrusSearchBuildDocumentParse() must be an instance of AbstractContent, null given, called in /vagrant/mediawiki/includes/Hooks.php on line 174 /vagrant/mediawiki/extensions/WikibaseMediaInfo/src/WikibaseMediaInfoHooks.php:342 /vagrant/mediawiki/includes/Hooks.php:174 /vagrant/mediawiki/includes/Hooks.php:202 /vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:368 /vagrant/mediawiki/extensions/CirrusSearch/tests/phpunit/UpdaterTest.php:95 /vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:409 /vagrant/mediawiki/maintenance/doMaintenance.php:94
etc.