Merge pull request #6926 from stof/fix_platform_reqs
Fix the platform requirement check commandpull/6930/head
commit
57b3e24514
|
@ -82,7 +82,7 @@ EOT
|
|||
$version = $currentPlatformPackageMap[$require]->getVersion();
|
||||
|
||||
foreach ($links as $link) {
|
||||
if (!$link->getConstraint()->matches(new Constraint('<=', $version))) {
|
||||
if (!$link->getConstraint()->matches(new Constraint('=', $version))) {
|
||||
$results[] = array(
|
||||
$currentPlatformPackageMap[$require]->getPrettyName(),
|
||||
$currentPlatformPackageMap[$require]->getPrettyVersion(),
|
||||
|
|
Loading…
Reference in New Issue