Skip to content

[Compatibility] Support psr/cache 2.0 #69

Closed
@kozlice

Description

@kozlice

PHP version: 8.0.1

Description
Installation fails with PHP 8.0.1 & psr/cache 2.0.0:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - php-http/cache-plugin 1.7.0 requires php ^7.1 -> your php version (8.0.1) does not satisfy that requirement.
    - php-http/cache-plugin 1.7.1 requires psr/cache ^1.0 -> found psr/cache[1.0.0, 1.0.1] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires php-http/cache-plugin ^1.7 -> satisfiable by php-http/cache-plugin[1.7.0, 1.7.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Possible Solution
Submitted a PR for this.

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