Skip to content

Commit a8f9dd3

Browse files
AlmogBakuTobion
authored andcommitted
[FrameworkBundle] [Bug] Fixes new InputStyle bug #16920
1 parent 2c82847 commit a8f9dd3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Command/ContainerDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
115115
$options = array('tag' => $tag, 'show_private' => $input->getOption('show-private'));
116116
} elseif ($name = $input->getArgument('name')) {
117117
$object = $this->getContainerBuilder();
118-
$name = $this->findProperServiceName($input, $output, $object, $name);
118+
$name = $this->findProperServiceName($input, $io, $object, $name);
119119
$options = array('id' => $name);
120120
} else {
121121
$object = $this->getContainerBuilder();

Command/ServerRunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
118118
$io->success(sprintf('Server running on http://%s', $address));
119119
$io->comment('Quit the server with CONTROL-C.');
120120

121-
if (null === $builder = $this->createPhpProcessBuilder($output, $address, $input->getOption('router'), $env)) {
121+
if (null === $builder = $this->createPhpProcessBuilder($io, $address, $input->getOption('router'), $env)) {
122122
return 1;
123123
}
124124

Command/ServerStartCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
105105

106106
$env = $this->getContainer()->getParameter('kernel.environment');
107107

108-
if (false === $router = $this->determineRouterScript($input->getOption('router'), $env, $output)) {
108+
if (false === $router = $this->determineRouterScript($input->getOption('router'), $env, $io)) {
109109
return 1;
110110
}
111111

@@ -148,7 +148,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
148148
return 1;
149149
}
150150

151-
if (null === $process = $this->createServerProcess($output, $address, $documentRoot, $router)) {
151+
if (null === $process = $this->createServerProcess($io, $address, $documentRoot, $router)) {
152152
return 1;
153153
}
154154

Command/YamlLintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8080
$content .= fread(STDIN, 1024);
8181
}
8282

83-
return $this->display($input, $output, $output, array($this->validate($content)));
83+
return $this->display($input, $output, $io, array($this->validate($content)));
8484
}
8585

8686
if (0 !== strpos($filename, '@') && !is_readable($filename)) {

0 commit comments

Comments
 (0)