Last modified: 2014-09-26 11:53:59 UTC
when running phpunit tests with BetaFeatures enabled, I get a fatal error: Fatal error: Call to a member function getOption() on a non-object in /Library/WebServer/Documents/php-master/extensions/BetaFeatures/includes/BetaFeaturesUtil.php on line 43 Call Stack: 0.0006 717344 1. {main}() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:0 0.3829 21399792 2. PHPUnit_TextUI_Command::main() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:232 0.3829 21400520 3. PHPUnit_TextUI_Command->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129 1.7722 71103152 4. PHPUnit_TextUI_TestRunner->doRun() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176 1.7746 71607184 5. PHPUnit_Framework_TestSuite->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:350 4.6459 109911168 6. PHPUnit_Framework_TestSuite->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:709 4.7016 110910872 7. PHPUnit_Framework_TestSuite->runTest() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:749 4.7016 110910872 8. MediaWikiTestCase->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:779 4.7016 110912000 9. PHPUnit_Framework_TestCase->run() /Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiTestCase.php:141 4.7017 110912000 10. PHPUnit_Framework_TestResult->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:783 4.7017 110912992 11. PHPUnit_Framework_TestCase->runBare() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php:648 4.7019 110954640 12. PHPUnit_Framework_TestCase->runTest() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:838 4.7019 110956120 13. ReflectionMethod->invokeArgs() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988 4.7019 110956152 14. Wikibase\Client\Test\Hooks\SidebarHookHandlersTest->testDoSidebarBeforeOutput() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php:988 4.7019 110956592 15. Wikibase\Client\Test\Hooks\SidebarHookHandlersTest->callDoSidebarBeforeOutput() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/tests/phpunit/includes/hooks/SidebarHookHandlersTest.php:487 4.7147 111825840 16. Wikibase\Client\Hooks\SidebarHookHandlers->doSidebarBeforeOutput() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/tests/phpunit/includes/hooks/SidebarHookHandlersTest.php:481 4.7153 111836768 17. BetaFeatures::isFeatureEnabled() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/hooks/SidebarHookHandlers.php:335