Skip to content

symfony/flex

1.x
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

This PR was merged into the 1.x branch.

Discussion
----------

Correctly resolve the lock alias

`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

Commits
-------

de71648 Correctly resolve the lock alias
2c5e9cb

Git stats

Files

Permalink
Failed to load latest commit information.

Symfony Flex helps developers create Symfony applications, from the most simple micro-style projects to the more complex ones with dozens of dependencies.