Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Composer check uses php binary shipped with macOS instead of Homebrew/ValetΒ #2

Open
@axit-joost

Description

I am running Laravel Valet on macOS and have PHP installed via Homebrew. The self-diagnosis package seems to call the php binary that lives in /usr/bin/php, which is the macOS shipped version that lives at v7.1.23, but the app that is triggering the error is running on Valet and the homebrew shipped PHP which on my machine is at 7.2.20.

Output:

Composer dependencies (including dev) are up to date | Your composer dependencies are not up to date. Call "composer install" to update them. Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - This package requires php ^7.2 but your PHP version (7.1.23) does not satisfy that requirement.

Which is false.

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