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)); $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
# Find abandoned packages and warn user $lockedRepository = $this->locker->getLockedRepository(true);
foreach ($localRepo->getPackages() as $package) { foreach ($lockedRepository->getPackages() as $package) {
if (!$package instanceof CompletePackage || !$package->isAbandoned()) { if (!$package instanceof CompletePackage || !$package->isAbandoned()) {
continue; continue;
} }

Loading…
Cancel
Save