Fix constraints shown in Problem output
parent
233bdb3863
commit
350c7cbb3a
|
@ -273,6 +273,7 @@ class Installer
|
||||||
$request = new Request($pool);
|
$request = new Request($pool);
|
||||||
|
|
||||||
$constraint = new VersionConstraint('=', $this->package->getVersion());
|
$constraint = new VersionConstraint('=', $this->package->getVersion());
|
||||||
|
$constraint->setPrettyString($this->package->getPrettyVersion());
|
||||||
$request->install($this->package->getName(), $constraint);
|
$request->install($this->package->getName(), $constraint);
|
||||||
|
|
||||||
if ($this->update) {
|
if ($this->update) {
|
||||||
|
@ -298,6 +299,7 @@ class Installer
|
||||||
$version = $aliases[$package->getName()][$version]['alias_normalized'];
|
$version = $aliases[$package->getName()][$version]['alias_normalized'];
|
||||||
}
|
}
|
||||||
$constraint = new VersionConstraint('=', $version);
|
$constraint = new VersionConstraint('=', $version);
|
||||||
|
$constraint->setPrettyString($package->getPrettyVersion());
|
||||||
$request->install($package->getName(), $constraint);
|
$request->install($package->getName(), $constraint);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -319,6 +321,7 @@ class Installer
|
||||||
}
|
}
|
||||||
|
|
||||||
$constraint = new VersionConstraint('=', $package->getVersion());
|
$constraint = new VersionConstraint('=', $package->getVersion());
|
||||||
|
$constraint->setPrettyString($package->getPrettyVersion());
|
||||||
$request->install($package->getName(), $constraint);
|
$request->install($package->getName(), $constraint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue