<?php
use Composer\Package\Link;
-use Composer\Package\LinkConstraint\VersionConstraint;
use Composer\Package\Package;
+use Composer\Semver\Constraint\Constraint;
/**
* @licence GNU GPL v2+
$mvVersion = $this->versionFetcher->fetchVersion();
$mvVersion = $this->versionNormalizer->normalizeSuffix( $mvVersion );
- $version = new VersionConstraint(
+ $version = new Constraint(
'==',
$this->versionNormalizer->normalizeLevelCount( $mvVersion )
);