Show abandoned warnings from the locked repo

main
Jordi Boggiano 4 years ago
parent 292d4b3c8f
commit 41720e9b70
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -262,9 +262,9 @@ class Installer
$this->suggestedPackagesReporter->output($this->locker->getLockedRepository($this->devMode));
}
// TODO probably makes more sense to do this on the lock file only?
# Find abandoned packages and warn user
foreach ($localRepo->getPackages() as $package) {
// Find abandoned packages and warn user
$lockedRepository = $this->locker->getLockedRepository(true);
foreach ($lockedRepository->getPackages() as $package) {
if (!$package instanceof CompletePackage || !$package->isAbandoned()) {
continue;
}

Loading…
Cancel
Save