facebook/hhvm — pull request #2355 by k-fish (2014-04-07 23:14:47+00:00)
Title: Update to framework.php to check version before using log-json

Found ```Fatal error: Call to undefined method PHPUnit_Framework_TestSuite::hasOutput()``` when using ```--log-json``` with phpbb.

It can occur when a framework uses its own phpunit that is older than 4.0.

This fix adds a version check for phpunit before appending log-json