Skip to content

Remove max php version from composer.json #11532

@xPaw

Description

@xPaw
$ composer require --dev vimeo/psalm
Cannot use vimeo/psalm's latest version 6.13.1 as it requires php ~8.1.31 || ~8.2.27 || ~8.3.16 || ~8.4.3 which is not satisfied by your platform.

Lock file operations: 2 installs, 0 updates, 0 removals
  - Locking vimeo/psalm (0.3.14)

I use alpha PHP versions locally for testing (PHP 8.5), so when I tried installing psalm, composer just installed version 0.3 which is really wack behavior of composer to be honest. Adding --ignore-platform-reqs of course installs the latest version.

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