[FrameworkBundle] [Bug] Fixes new InputStyle bug #16920
This commit is contained in:
parent
bbe72f90a0
commit
d2b9a1db88
@ -115,7 +115,7 @@ EOF
|
||||
$options = array('tag' => $tag, 'show_private' => $input->getOption('show-private'));
|
||||
} elseif ($name = $input->getArgument('name')) {
|
||||
$object = $this->getContainerBuilder();
|
||||
$name = $this->findProperServiceName($input, $output, $object, $name);
|
||||
$name = $this->findProperServiceName($input, $io, $object, $name);
|
||||
$options = array('id' => $name);
|
||||
} else {
|
||||
$object = $this->getContainerBuilder();
|
||||
|
@ -118,7 +118,7 @@ EOF
|
||||
$io->success(sprintf('Server running on http://%s', $address));
|
||||
$io->comment('Quit the server with CONTROL-C.');
|
||||
|
||||
if (null === $builder = $this->createPhpProcessBuilder($output, $address, $input->getOption('router'), $env)) {
|
||||
if (null === $builder = $this->createPhpProcessBuilder($io, $address, $input->getOption('router'), $env)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -105,7 +105,7 @@ EOF
|
||||
|
||||
$env = $this->getContainer()->getParameter('kernel.environment');
|
||||
|
||||
if (false === $router = $this->determineRouterScript($input->getOption('router'), $env, $output)) {
|
||||
if (false === $router = $this->determineRouterScript($input->getOption('router'), $env, $io)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -148,7 +148,7 @@ EOF
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (null === $process = $this->createServerProcess($output, $address, $documentRoot, $router)) {
|
||||
if (null === $process = $this->createServerProcess($io, $address, $documentRoot, $router)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ EOF
|
||||
$content .= fread(STDIN, 1024);
|
||||
}
|
||||
|
||||
return $this->display($input, $output, $output, array($this->validate($content)));
|
||||
return $this->display($input, $output, $io, array($this->validate($content)));
|
||||
}
|
||||
|
||||
if (0 !== strpos($filename, '@') && !is_readable($filename)) {
|
||||
|
Reference in New Issue
Block a user