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:
parent
5284b59fb9
commit
2035fea2a8
@ -83,12 +83,6 @@ EOF
|
|||||||
*/
|
*/
|
||||||
protected function execute(InputInterface $input, OutputInterface $output)
|
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');
|
$documentRoot = $input->getOption('docroot');
|
||||||
|
|
||||||
if (null === $documentRoot) {
|
if (null === $documentRoot) {
|
||||||
|
Reference in New Issue
Block a user