Skip to content

Cannot use lodash-php along with PhpUnit 11.x #45

@marc-bouvier

Description

@marc-bouvier

When I try to use PhpUnit 11.x there is a dependance compatibility conflict with sebastian/comparator.

Composer error log

 Your requirements could not be resolved to an installable set of packages. 
 
   Problem 1
     - sebastian/comparator[2.0.0, ..., 2.1.3] require php ^7.0 -> your php version (8.2.16) does not satisfy that requirement.
     - sebastian/comparator[3.0.0, ..., 3.0.2] require php ^7.1 -> your php version (8.2.16) does not satisfy that requirement.
     - sebastian/comparator[4.0.0, ..., 4.0.2] require php ^7.3 -> your php version (8.2.16) does not satisfy that requirement.
     - Root composer.json requires lodash-php/lodash-php ^0.09 -> satisfiable by lodash-php/lodash-php[0.09].
     - lodash-php/lodash-php 0.09 requires sebastian/comparator ^1.2 | ^2.0 | ^2.1 | ^3.0 | ^4.0 | ^5.0 -> satisfiable by sebastian/comparator[1.2.0, ..., 1.2.x-dev, 2.0.0, ..., 2.1.3, 3.0.0, ..., 3.0.x-dev, 4.0.0, ..., 4.0.x-dev, 5.0.0, 5.0.1, 5.0.x-dev].
     - You can only install one version of a package, so only one of these can be installed: sebastian/comparator[1.2.0, ..., 1.2.x-dev, 2.0.0, ..., 2.1.3, 3.0.0, ..., 3.0.x-dev, 4.0.0, ..., 4.0.x-dev, 5.0.0, 5.0.1, 5.0.x-dev, 6.0.0, 6.0.x-dev].
     - phpunit/phpunit[11.0.0, ..., 11.2.x-dev] require sebastian/comparator ^6.0 -> satisfiable by sebastian/comparator[6.0.0, 6.0.x-dev].
     - Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.0.0, ..., 11.2.x-dev].
 
 Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

"sebastian/comparator": "^1.2 | ^2.0 | ^2.1 | ^3.0 | ^4.0 | ^5.0",

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy