1
0
Fork 0

Show abandoned warnings from the locked repo

pull/8561/head
Jordi Boggiano 2020-01-28 15:56:52 +01:00
parent 292d4b3c8f
commit 41720e9b70
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 3 additions and 3 deletions

View File

@ -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;
} }