Przeglądaj źródła

cleaned up some getApplication()->getIO() into getIO()s

Luis Cordova 13 lat temu
rodzic
commit
f76c65914c

+ 1 - 1
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,

+ 1 - 1
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

+ 1 - 1
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