mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
CS fixes
This commit is contained in:
parent
152694b574
commit
b7d770659b
175 changed files with 688 additions and 724 deletions
|
@ -175,6 +175,7 @@ EOT
|
|||
|
||||
if ($updateMirrors && !empty($packages)) {
|
||||
$io->writeError('<error>You cannot simultaneously update only a selection of packages and regenerate the lock file metadata.</error>');
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -299,6 +300,7 @@ EOT
|
|||
$oldPrettyString = $link->getConstraint()->getPrettyString();
|
||||
$newConstraint = MultiConstraint::create(array($link->getConstraint(), $parser->parseConstraints($constraint)));
|
||||
$newConstraint->setPrettyString($oldPrettyString.', '.$constraint);
|
||||
|
||||
return new Link(
|
||||
$link->getSource(),
|
||||
$link->getTarget(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue