Fix dry-run output
parent
4afca78daa
commit
79826ee5c9
|
@ -353,10 +353,6 @@ class Installer
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($operations as $operation) {
|
foreach ($operations as $operation) {
|
||||||
if ($this->verbose) {
|
|
||||||
$this->io->write((string) $operation);
|
|
||||||
}
|
|
||||||
|
|
||||||
// collect suggestions
|
// collect suggestions
|
||||||
if ('install' === $operation->getJobType()) {
|
if ('install' === $operation->getJobType()) {
|
||||||
foreach ($operation->getPackage()->getSuggests() as $target => $reason) {
|
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);
|
$this->installationManager->execute($localRepo, $operation);
|
||||||
|
|
||||||
$event = 'Composer\Script\ScriptEvents::POST_PACKAGE_'.strtoupper($operation->getJobType());
|
$event = 'Composer\Script\ScriptEvents::POST_PACKAGE_'.strtoupper($operation->getJobType());
|
||||||
|
|
Loading…
Reference in New Issue