fix alignment
parent
00da5945ec
commit
994b1324bc
|
@ -130,7 +130,7 @@ class PluginManager
|
||||||
throw new \RuntimeException("Plugin ".$package->getName()." is missing a require statement for a version of the composer-plugin-api package.");
|
throw new \RuntimeException("Plugin ".$package->getName()." is missing a require statement for a version of the composer-plugin-api package.");
|
||||||
}
|
}
|
||||||
|
|
||||||
$currentPluginApiVersion = $this->getPluginApiVersion();
|
$currentPluginApiVersion = $this->getPluginApiVersion();
|
||||||
$currentPluginApiConstraint = new VersionConstraint('==', $this->versionParser->normalize($currentPluginApiVersion));
|
$currentPluginApiConstraint = new VersionConstraint('==', $this->versionParser->normalize($currentPluginApiVersion));
|
||||||
|
|
||||||
if (!$requiresComposer->matches($currentPluginApiConstraint)) {
|
if (!$requiresComposer->matches($currentPluginApiConstraint)) {
|
||||||
|
|
Loading…
Reference in New Issue