From 352e467f16247a319f991a7050267a1587cd9b9e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 29 Apr 2016 17:17:55 +0100 Subject: [PATCH] Always show abandoned packages in --outdated as they are outdated in a way --- src/Composer/Command/ShowCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index 28447ee2d..b00348f08 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -314,7 +314,7 @@ EOT if ($showLatest && isset($latestPackages[$package->getPrettyName()])) { $latestPackackage = $latestPackages[$package->getPrettyName()]; } - if ($input->getOption('outdated') && $latestPackackage && $latestPackackage->getFullPrettyVersion() === $package->getFullPrettyVersion()) { + if ($input->getOption('outdated') && $latestPackackage && $latestPackackage->getFullPrettyVersion() === $package->getFullPrettyVersion() && !$latestPackackage->isAbandoned()) { continue; }