1
0
Fork 0

Fix constraints shown in Problem output

pull/1243/merge
Jordi Boggiano 2012-10-22 10:27:12 +02:00
parent 233bdb3863
commit 350c7cbb3a
1 changed files with 3 additions and 0 deletions

View File

@ -273,6 +273,7 @@ class Installer
$request = new Request($pool);
$constraint = new VersionConstraint('=', $this->package->getVersion());
$constraint->setPrettyString($this->package->getPrettyVersion());
$request->install($this->package->getName(), $constraint);
if ($this->update) {
@ -298,6 +299,7 @@ class Installer
$version = $aliases[$package->getName()][$version]['alias_normalized'];
}
$constraint = new VersionConstraint('=', $version);
$constraint->setPrettyString($package->getPrettyVersion());
$request->install($package->getName(), $constraint);
}
} else {
@ -319,6 +321,7 @@ class Installer
}
$constraint = new VersionConstraint('=', $package->getVersion());
$constraint->setPrettyString($package->getPrettyVersion());
$request->install($package->getName(), $constraint);
}