Browse Source

Fix dry-run output

Jordi Boggiano 12 years ago
parent
commit
79826ee5c9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/Composer/Installer.php

+ 4 - 4
src/Composer/Installer.php

@@ -353,10 +353,6 @@ class Installer
         }
 
         foreach ($operations as $operation) {
-            if ($this->verbose) {
-                $this->io->write((string) $operation);
-            }
-
             // collect suggestions
             if ('install' === $operation->getJobType()) {
                 foreach ($operation->getPackage()->getSuggests() as $target => $reason) {
@@ -406,6 +402,10 @@ class Installer
                 }
             }
 
+            if ($this->verbose) {
+                $this->io->write((string) $operation);
+            }
+
             $this->installationManager->execute($localRepo, $operation);
 
             $event = 'Composer\Script\ScriptEvents::POST_PACKAGE_'.strtoupper($operation->getJobType());