diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php index d885f0dfe8..59b93004c5 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php @@ -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(); diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php index b8511fdcc7..f7258c1289 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php @@ -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; } diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ServerStartCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ServerStartCommand.php index 8c0e4ee628..fdec77788d 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ServerStartCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ServerStartCommand.php @@ -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; } diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php index 5e6f51ce5b..2af1a91b34 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php @@ -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)) {