Skip to content

Brew::installed() fails to correctly parse installed version of PHP if "php" is installed with no version constraint #756

@mattstauffer

Description

@mattstauffer

See notes here:

#728 (comment)

To reproduce:

Install php instead of php@7.3 with Homebrew, then run valet use php73. Valet will suggest it's not installed, even though it is, because it looks at php which doesn't have a version number and therefore doesn't match php73.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions