1
0
Fork 0

Merge pull request #6926 from stof/fix_platform_reqs

Fix the platform requirement check command
pull/6930/head
Jordi Boggiano 2017-12-20 13:13:32 +01:00 committed by GitHub
commit 57b3e24514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(),