Add workaround for HHVM issue 6206
authorMarius Hoch <hoo@online.de>
Fri, 19 May 2017 18:50:58 +0000 (20:50 +0200)
committerKrinkle <krinklemail@gmail.com>
Fri, 19 May 2017 19:02:50 +0000 (19:02 +0000)
commitc2c7452577eb95a5586d1de6f586c28b13ac3951
tree07b44ba9e2270a53a178c192034a361e9595387c
parent657aa49b874f80a85936ab5d070235d752366573
Add workaround for HHVM issue 6206

Just use the actual global on HHVM, like we do on
Zend, but avoid hitting the warning.

This is a workaround for https://github.com/facebook/hhvm/issues/6206

Bug: T111641
Change-Id: I15ef0e90827c94a8b2609484b0dddcb78f04284c
tests/phpunit/MediaWikiTestCase.php