Update parse name version parirs name to lower
parent
0a9abeef88
commit
354bd7f7e2
|
@ -54,10 +54,10 @@ class VersionParser extends SemverVersionParser
|
|||
}
|
||||
|
||||
if (strpos($pair, ' ')) {
|
||||
list($name, $version) = explode(" ", $pair, 2);
|
||||
$result[] = array('name' => $name, 'version' => $version);
|
||||
list($name, $version) = explode(' ', $pair, 2);
|
||||
$result[] = array('name' => strtolower($name), 'version' => $version);
|
||||
} else {
|
||||
$result[] = array('name' => $pair);
|
||||
$result[] = array('name' => strtolower($pair));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue