From 8aaac35ca18b24cbacb91553bd489f63f28a94d8 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 30 Oct 2011 22:01:37 +0100 Subject: [PATCH] Make installer type case insensitive --- src/Composer/Installer/InstallationManager.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Installer/InstallationManager.php b/src/Composer/Installer/InstallationManager.php index ac59805fb..4bf207b76 100644 --- a/src/Composer/Installer/InstallationManager.php +++ b/src/Composer/Installer/InstallationManager.php @@ -51,6 +51,8 @@ class InstallationManager */ public function getInstaller($type) { + $type = strtolower($type); + if (isset($this->cache[$type])) { return $this->cache[$type]; }