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