Merge pull request #2883 from dzuelke/dev-suggestions

Only print suggestions in dev mode
main
Jordi Boggiano 10 years ago
commit abc34cc62a

@ -223,7 +223,8 @@ class Installer
}
$this->installationManager->notifyInstalls();
// output suggestions
// output suggestions if we're in dev mode
if (!$this->devMode) {
foreach ($this->suggestedPackages as $suggestion) {
$target = $suggestion['target'];
foreach ($installedRepo->getPackages() as $package) {
@ -234,6 +235,7 @@ class Installer
$this->io->write($suggestion['source'].' suggests installing '.$suggestion['target'].' ('.$suggestion['reason'].')');
}
}
if (!$this->dryRun) {
// write lock

Loading…
Cancel
Save