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

PHP 8 / RoadRunner 2 Compatibility #66

@elazar

Description

@elazar

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

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