1
0
Fork 0

compare against correct format

pull/4089/head
nevvermind 2015-06-02 19:59:38 +01:00
parent 994b1324bc
commit 4fd9a3ceee
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class VersionParser
}
// if the required Plugin API version is exactly "1.0.0", convert it to "^1.0", to keep BC
if ('composer-plugin-api' === $target && $this->isOldStylePluginApiVersion($constraint)) {
if ('composer-plugin-api' === strtolower($target) && $this->isOldStylePluginApiVersion($constraint)) {
$parsedConstraint = $this->parseConstraints('^1.0');
}