8000 minor #12551 remove an unneeded check (xabbuh) · symfony/symfony@155fa96 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 155fa96

Browse files
committed
minor #12551 remove an unneeded check (xabbuh)
This PR was merged into the 2.5 branch. Discussion ---------- remove an unneeded check | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? |no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | 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. Commits ------- 2035fea remove an unneeded check
2 parents 5284b59 + 2035fea commit 155fa96

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