1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Make root alias behaviour consistent, add root ref handling, lock to newest metadata

root aliases during install should come from the lock file only, for
better reproducibility we don't reuse the value from update for the
following install
This commit is contained in:
Nils Adermann 2019-02-14 17:57:29 +01:00
parent 10ada7bf82
commit c875f538ea
3 changed files with 39 additions and 32 deletions

View file

@ -101,6 +101,8 @@ class RepositorySet
/**
* Find packages providing or matching a name and optionally meeting a constraint in all repositories
*
* Returned in the order of repositories, matching priority
*
* @param string $name
* @param ConstraintInterface|null $constraint
* @param bool $exactMatch