remove an unneeded check

It is already checked in the `isEnabled()` method if the current PHP
build is HHVM and the `server:run` command is never enabled then.
Thus, it's not needed to check for HHVM on every command execution.
This commit is contained in:
Christian Flothmann 2014-11-23 20:04:20 +01:00
parent 5284b59fb9
commit 2035fea2a8

View File

@ -83,12 +83,6 @@ EOF
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
if (defined('HHVM_VERSION')) {
$output->writeln('<error>This command is not supported on HHVM.</error>');
return 1;
}
$documentRoot = $input->getOption('docroot');
if (null === $documentRoot) {