From 79826ee5c97d06cc600d7e349bdec22828da71ce Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 23 May 2012 16:04:28 +0200 Subject: [PATCH] Fix dry-run output --- src/Composer/Installer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index 9b96767a3..458a71c8b 100644 --- a/src/Composer/Installer.php +++ b/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());