Skip to content

For v2.0 : Composer::Version can not detect the version number from certain composer version strings #38

@yavery

Description

@yavery

Certain composer version will cause the Composer::VERSION to be empty

/usr/local/bin/composer --version
Composer version 2.6-dev+4e1774518002b0be4365fe62ce220b2011c2b4bf (2.6-dev) 2023-03-29 09:32:46

Magento/ComposerRootUpdatePlugin/updater/RootPackageRetriever :: findBestCandidate() -- code logic will go into the else block, the Composer::VERSION is empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions