Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: add --locked option to depends and prevents #10717

Closed
kwfinken opened this issue Apr 7, 2022 · 1 comment · Fixed by #10834
Closed

feature request: add --locked option to depends and prevents #10717

kwfinken opened this issue Apr 7, 2022 · 1 comment · Fixed by #10834
Labels
Milestone

Comments

@kwfinken
Copy link

kwfinken commented Apr 7, 2022

When using the composer depends and composer prevents commands, it would be useful to have a --locked option, similar to composer show --locked and composer outdated --locked. Our docker based workflow typically deals with composer using only the composer.json and composer.lock file in our repository, not creating the vendor directory until the system is deployed to docker containers.

@Seldaek
Copy link
Member

Seldaek commented May 24, 2022

This probably should use a mechanism similar to (or perhaps we can even reuse it outright) the ShowCommand, which supports loading --locked or installed and if nothing is installed warns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants