CI match on package names
parent
2e41993822
commit
04783d5c30
|
@ -41,7 +41,7 @@ class InstallCommand
|
||||||
// TODO this should use the transaction returned by the solver
|
// TODO this should use the transaction returned by the solver
|
||||||
foreach ($config['require'] as $name => $version) {
|
foreach ($config['require'] as $name => $version) {
|
||||||
foreach ($packages as $pkg) {
|
foreach ($packages as $pkg) {
|
||||||
if ($pkg->getName() === $name) {
|
if (strtolower($pkg->getName()) === strtolower($name)) {
|
||||||
$package = $pkg;
|
$package = $pkg;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue