8000 remove an unneeded check · symfony/symfony@2035fea · GitHub
[go: up one dir, main page]

Skip to content

Commit 2035fea

Browse files
committed
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.
1 parent 5284b59 commit 2035fea

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ protected function configure()
8383
*/
8484
protected function execute(InputInterface $input, OutputInterface $output)
8585
{
86-
if (defined('HHVM_VERSION')) {
87-
$output->writeln('<error>This command is not supported on HHVM.</error>');
88-
89-
return 1;
90-
}
91-
9286
$documentRoot = $input->getOption('docroot');
9387

9488
if (null === $documentRoot) {

0 commit comments

Comments
 (0)
0