protected function determineRequirements($config)
{
$parsed = $this->parseJson($config, array('hhvm' => true, 'php' => PHP_VERSION_ID));
if (!is_int($parsed['php']) || $parsed['php'] < 50306) {
throw new \InvalidArgumentException(sprintf('Expected int >= 50306 value for "php", got "%s".', is_object($parsed['php']) ? get_class($parsed['php']) : gettype($parsed['php']) . '#' . $parsed['php']));
}
if (!is_bool($parsed['hhvm'])) {
throw new \InvalidArgumentException(sprintf('Expected bool value for "hhvm", got "%s".', is_object($parsed['hhvm']) ? get_class($parsed['hhvm']) : gettype($parsed['hhvm']) . '#' . $parsed['hhvm']));
}
return $parsed;
}