Selaa lähdekoodia

CI match on package names

Jordi Boggiano 14 vuotta sitten
vanhempi
commit
04783d5c30
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/Composer/Command/InstallCommand.php

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