Skip to content

Correctly resolve the lock alias#960

Merged
fabpot merged 1 commit intosymfony:1.xfrom
pierredup:resolve-lock-alias
Nov 22, 2022
Merged

Correctly resolve the lock alias#960
fabpot merged 1 commit intosymfony:1.xfrom
pierredup:resolve-lock-alias

Conversation

@pierredup
Copy link
Copy Markdown
Contributor

composer require lock doesn't resolve the lock alias because the package name resolution is skipped when the package argument is lock. This PR bypasses this specifically for the require command, so that composer require lock correctly resolved the alias, but composer update lock still skips the name resolution.

Reference: symfony/recipes#1150

@fabpot
Copy link
Copy Markdown
Member

fabpot commented Nov 22, 2022

Thank you @pierredup.

@fabpot fabpot merged commit 2c5e9cb into symfony:1.x Nov 22, 2022
@pierredup pierredup deleted the resolve-lock-alias branch November 22, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants