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++; } }