Page MenuHomePhabricator

Make WikibaseLexeme compatible with PHP 7.4
Closed, DuplicatePublic

Description

00:07:47.014 There were 2 errors:
00:07:47.014 
00:07:47.014 1) Wikibase\Lexeme\Tests\MediaWiki\Content\LexemeContentTest::testGetEntityRedirect
00:07:47.015 Error: Call to private Title::__construct() from context 'PHPUnit\Framework\MockObject\Generator'
00:07:47.015 
00:07:47.015 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Content/LexemeContentTest.php:357
00:07:47.015 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Content/LexemeContentTest.php:99
00:07:47.015 /workspace/src/maintenance/doMaintenance.php:99
00:07:47.015 
00:07:47.015 2) Wikibase\Lexeme\Tests\MediaWiki\Content\LexemeContentTest::testGivenRedirect_isValidReturnsTrue
00:07:47.015 Error: Call to private Title::__construct() from context 'PHPUnit\Framework\MockObject\Generator'
00:07:47.015 
00:07:47.015 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Content/LexemeContentTest.php:357
00:07:47.015 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Content/LexemeContentTest.php:154
00:07:47.015 /workspace/src/maintenance/doMaintenance.php:99