8000 minor #12257 [FrameworkBundle] improve server:run feedback (xabbuh) · symfony/symfony@e1d1832 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1d1832

Browse files
committed
minor #12257 [FrameworkBundle] improve server:run feedback (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [FrameworkBundle] improve server:run feedback | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | In #12253, improved feedback was added to the `server:run` command instructing the user how to terminate the built-in web server. This is hereby backported to the `2.3` branch. Commits ------- 264c37a [FrameworkBundle] improve server:run feedback
2 parents 8487ef2 + 264c37a commit e1d1832

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
110110
$router = realpath($router);
111111

112112
$output->writeln(sprintf("Server running on <info>http://%s</info>\n", $input->getArgument('address')));
113+
$output->writeln('Quit the server with CONTROL-C.');
113114

114115
$builder = new ProcessBuilder(array(PHP_BINARY, '-S', $input->getArgument('address'), $router));
115116
$builder->setWorkingDirectory($documentRoot);

0 commit comments

Comments
 (0)
0