From f76c65914cc038b162fd972d3e684adab7c34016 Mon Sep 17 00:00:00 2001 From: Luis Cordova Date: Fri, 23 Mar 2012 14:57:43 -0500 Subject: [PATCH] cleaned up some getApplication()->getIO() into getIO()s --- src/Composer/Command/CreateProjectCommand.php | 2 +- src/Composer/Command/InstallCommand.php | 2 +- src/Composer/Command/UpdateCommand.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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