From 04783d5c302daebcb951078c55539ba87708cffd Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 5 Jun 2011 22:09:05 +0200 Subject: [PATCH] CI match on package names --- src/Composer/Command/InstallCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/InstallCommand.php b/src/Composer/Command/InstallCommand.php index 4a7a23cbe..a3e92f2f5 100644 --- a/src/Composer/Command/InstallCommand.php +++ b/src/Composer/Command/InstallCommand.php @@ -41,7 +41,7 @@ class InstallCommand // TODO this should use the transaction returned by the solver foreach ($config['require'] as $name => $version) { foreach ($packages as $pkg) { - if ($pkg->getName() === $name) { + if (strtolower($pkg->getName()) === strtolower($name)) { $package = $pkg; break; }