diff --git a/src/Composer/Command/CheckPlatformReqsCommand.php b/src/Composer/Command/CheckPlatformReqsCommand.php index 7da5edaa5..8b59c28ea 100644 --- a/src/Composer/Command/CheckPlatformReqsCommand.php +++ b/src/Composer/Command/CheckPlatformReqsCommand.php @@ -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(),