1
0
Fork 0

Ignore the unfound packages

pull/5267/head
Kamran Ahmed 2016-04-29 15:25:14 +04:00
parent 6146f7aded
commit 78a8a02978
1 changed files with 5 additions and 0 deletions

View File

@ -275,7 +275,12 @@ EOT
if ($showVersion) {
$versionLength = max($versionLength, strlen($package->getFullPrettyVersion()));
if ($showLatest) {
$latestPackage = $this->findLatestPackage($package, $composer, $phpVersion);
if ($latestPackage === false) {
continue;
}
$latestPackages[$package->getPrettyName()] = $latestPackage;
$latestLength = max($latestLength, strlen($latestPackage->getFullPrettyVersion()));
}