From 46cc3875982a32383f610273e2d6dbd7d34f8268 Mon Sep 17 00:00:00 2001 From: username Date: Sat, 29 Aug 2020 21:12:07 +0200 Subject: [PATCH] Split workflows --- src/Composer/Command/ShowCommand.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index 635d56bf3..e988cd2f5 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -423,7 +423,9 @@ EOT $packageIsIgnored = \in_array($package->getPrettyName(), $ignoredPackages, true); if ($input->getOption('outdated') && ($packageIsUpToDate || $packageIsIgnored)) { continue; - } elseif ($input->getOption('outdated') || $input->getOption('strict')) { + } + + if ($input->getOption('outdated') || $input->getOption('strict')) { $hasOutdatedPackages = true; }