diff --git a/src/Composer/Command/CreateProjectCommand.php b/src/Composer/Command/CreateProjectCommand.php index 0c98f5f27..a699e42b4 100644 --- a/src/Composer/Command/CreateProjectCommand.php +++ b/src/Composer/Command/CreateProjectCommand.php @@ -65,7 +65,7 @@ EOT protected function execute(InputInterface $input, OutputInterface $output) { - $io = $this->getApplication()->getIO(); + $io = $this->getIO(); return $this->installProject( $io, diff --git a/src/Composer/Command/InstallCommand.php b/src/Composer/Command/InstallCommand.php index cee9a9603..1f711c334 100644 --- a/src/Composer/Command/InstallCommand.php +++ b/src/Composer/Command/InstallCommand.php @@ -50,7 +50,7 @@ EOT protected function execute(InputInterface $input, OutputInterface $output) { $composer = $this->getComposer(); - $io = $this->getApplication()->getIO(); + $io = $this->getIO(); $install = Installer::create($io, $composer); $install diff --git a/src/Composer/Command/UpdateCommand.php b/src/Composer/Command/UpdateCommand.php index 7fe888139..44bd17b90 100644 --- a/src/Composer/Command/UpdateCommand.php +++ b/src/Composer/Command/UpdateCommand.php @@ -48,7 +48,7 @@ EOT protected function execute(InputInterface $input, OutputInterface $output) { $composer = $this->getComposer(); - $io = $this->getApplication()->getIO(); + $io = $this->getIO(); $install = Installer::create($io, $composer); $install