Athari / YaLinqo

Yet Another LINQ to Objects for PHP [Simplified BSD]
https://athari.github.io/YaLinqo
BSD 2-Clause "Simplified" License
441 stars 39 forks source link

Can't install 2.5.0 together with PHPUnit 9.x #61

Open jorrit opened 11 months ago

jorrit commented 11 months ago

This conflict was added to composer.json in version 2.5.0:

    "conflict": {
        "phpunit/php-timer": ">=2"
    }

I am assuming this is because this projects depends on an old version of PHPUnit in order to maintain compatibility with old PHP versions. However, this conflict also applies when used as dependency in my project:

$ composer why-not athari/yalinqo 2.5
athari/yalinqo v2.5.0 conflicts phpunit/php-timer (>=2) 

Unfortunately, there is no conflict-dev setting. Maybe the conflict can be solved in a different way, perhaps by making a specific version of php-timer a direct dev-dependency?

ukr357 commented 4 weeks ago

Hi team,

I ran into the same problem. I would very much like to continue using yalinqo, but this conflict makes it impossible for us :-( Is there anything planned?

Thanks