Last modified: 2014-07-18 00:38:01 UTC
Test passes in Zend PHP, but fails in HHVM. PHPUnit 4.1.3 by Sebastian Bergmann. Configuration read from /srv/mediawiki/tests/phpunit/suite.xml ............................................................... 63 / 193 ( 32%) ............................................................... 126 / 193 ( 65%) .................................................E Time: 1.12 seconds, Memory: 21.39Mb There was 1 error: 1) TemplateDataBlobTest::testGetDataInLanguage with data set #7 (array('{ "params": { "foo": {} }, "sets": [ { "label": { "es": "Spanish", "de": "German" }, "params": ["foo"] } ] } ', '{ "description": null, "params": { "foo": { "label": null, "required": false, "suggested": false, "description": null, "deprecated": false, "aliases": [], "default": "", "type": "unknown" } }, "paramOrder": ["foo"], "sets": [ { "label": "Spanish", "params": ["foo"] } ] } ', 'fr', 'Set label is not optional, choose first available key as final fallback')) Invalid operand type was used: expecting an array /srv/mediawiki/extensions/TemplateData/TemplateDataBlob.php:522 /srv/mediawiki/extensions/TemplateData/tests/TemplateDataBlobTest.php:684 /srv/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 FAILURES! Tests: 176, Assertions: 577, Errors: 1.
We really need tests to pass when all wmf extensions are installed together. That is preventing us from progression toward the HHVM migrating. Raising priority to High.
Change 147349 had a related patch set uploaded by MaxSem: HHVM compatibility: objects don't have array-like interface https://gerrit.wikimedia.org/r/147349
Change 147349 merged by jenkins-bot: HHVM compatibility: objects don't have array-like interface https://gerrit.wikimedia.org/r/147349