Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update version numbers in composer.json to match composer.lock? #12428

@seanr

Description

@seanr

Is your feature request related to a problem? Please describe.
Is there a way to update version numbers in composer.json to match composer.lock? Looked around and found nothing.

Describe the solution you'd like
Ideally, I'd like a command that would just update the minimum versions based one whatever has been updated via composer update

Describe alternatives you've considered
PHPStorm will show me the installed versions when viewing the composer.json, but the only way to apply those in that file seems to be manually.

Additional context
This is kind of a nice-to-have thing, but it's annoying that the versions can get so mismatched over time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions