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

Allow use of --locked with depends and prohibits #10834

Merged
merged 4 commits into from Jun 25, 2022

Conversation

fredden
Copy link
Contributor

@fredden fredden commented Jun 9, 2022

Fixes #10790 by adding an error message that tells users how to recover / get the information they wanted.
Fixes #10717 by adding the ability to use --locked on composer depends and composer prohibits commands (to read the dependency information from composer.lock).

@fredden fredden force-pushed the depends-locked branch 2 times, most recently from 273e9fc to f45fb30 Compare June 9, 2022 20:55
@fredden fredden marked this pull request as ready for review June 9, 2022 21:08
@Seldaek Seldaek added this to the 2.4 milestone Jun 21, 2022
@Seldaek Seldaek merged commit d880ab6 into composer:main Jun 25, 2022
@Seldaek
Copy link
Member

Seldaek commented Jun 25, 2022

Thanks!

@fredden fredden deleted the depends-locked branch November 4, 2022 19:18
emahorvat52 pushed a commit to emahorvat52/composer that referenced this pull request Feb 3, 2023
* Allow use of --locked with depends and prohibits

* Only include other repos if not --locked

* Move logic to appease PHPStan

* Load a PlatformRepository when reading lock file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants