diff --git a/src/Composer/Package/LinkConstraint/VersionConstraint.php b/src/Composer/Package/LinkConstraint/VersionConstraint.php index 89b644b89..c8ae4cb5b 100644 --- a/src/Composer/Package/LinkConstraint/VersionConstraint.php +++ b/src/Composer/Package/LinkConstraint/VersionConstraint.php @@ -32,6 +32,10 @@ class VersionConstraint extends SpecificConstraint */ public function __construct($operator, $version) { + if ('=' === $operator) { + $operator = '=='; + } + // TODO add third parameter releaseType and match that too // TODO add fourth parameter devSnapshot and match that too $this->operator = $operator;