Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

PHP 8 / RoadRunner 2 Compatibility #66

Open
elazar opened this issue Nov 7, 2021 · 0 comments
Open

PHP 8 / RoadRunner 2 Compatibility #66

elazar opened this issue Nov 7, 2021 · 0 comments

Comments

@elazar
Copy link

elazar commented Nov 7, 2021

I received the conflict below when attempting to add spiral/jobs to a project using PHP 8.

$ composer require -W spiral/jobs
Using version ^2.2 for spiral/jobs
./composer.json has been updated
Running composer update spiral/jobs --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - spiral/jobs v2.2.0 requires php ^7.2 -> your php version (8.0.12) does not satisfy that requirement.
    - spiral/jobs[v2.2.1, ..., v2.2.2] require spiral/roadrunner ^1.1 -> found spiral/roadrunner[v1.1.0, ..., v1.9.2] but it conflicts with your root composer.json require (^2.5).
    - Root composer.json requires spiral/jobs ^2.2 -> satisfiable by spiral/jobs[v2.2.0, v2.2.1, v2.2.2].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require spiral/jobs:*" to figure out if any version is installable, or "composer require spiral/jobs:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
ERROR: 2
@elazar elazar changed the title PHP 8 Compatibility PHP 8 / RoadRunner 2 Compatibility Nov 7, 2021
sergey-telpuk added a commit to sergey-telpuk/jobs that referenced this issue Nov 9, 2021
sergey-telpuk added a commit to sergey-telpuk/jobs that referenced this issue Nov 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant