From 4ebc318510362e91aa32f9ce46174844daa17fa1 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 14 Feb 2020 14:10:42 +0100 Subject: [PATCH] Fix 5.3/5.4 builds --- src/Composer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index 6ed247fcd..ff40b618f 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -316,7 +316,7 @@ class Installer $fundingCount = 0; foreach ($localRepo->getPackages() as $package) { - if ($package instanceof CompletePackageInterface && !empty($package->getFunding())) { + if ($package instanceof CompletePackageInterface && !$package instanceof AliasPackage && $package->getFunding()) { $fundingCount++; } }