Fix 5.3 issue
parent
d13ce20b6e
commit
ba04a46cae
|
@ -683,7 +683,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
||||||
$version['version_normalized'] = $repo->versionParser->normalize($version['version']);
|
$version['version_normalized'] = $repo->versionParser->normalize($version['version']);
|
||||||
} elseif ($version['version_normalized'] === '9999999-dev') {
|
} elseif ($version['version_normalized'] === '9999999-dev') {
|
||||||
// handling of existing repos which need to remain composer v1 compatible, in case the version_normalized contained 9999999-dev, we renormalize it
|
// handling of existing repos which need to remain composer v1 compatible, in case the version_normalized contained 9999999-dev, we renormalize it
|
||||||
$version['version_normalized'] = $this->versionParser->normalize($version['version']);
|
$version['version_normalized'] = $repo->versionParser->normalize($version['version']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($repo->isVersionAcceptable($acceptableStabilities, $stabilityFlags, $constraint, $realName, $version)) {
|
if ($repo->isVersionAcceptable($acceptableStabilities, $stabilityFlags, $constraint, $realName, $version)) {
|
||||||
|
|
Loading…
Reference in New Issue