Can't install 2.5.0 together with PHPUnit 9.x
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?
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
Hi team again,
is there any plan, when this can be fixed?
Best regards
Anybody tried asking Composer devs about how users are supposed to approach conflicts like this?
Frankly, I've no idea what conflict that option resolves. That knowledge has been lost to the ages.
Anyway, removed that thing. One thing for sure, YaLinqo doesn't need any timers to run. Removed the conflict option and released the library as v2.5.1. Worst case scenario, whatever remains of CI will break.
Feature request to add conflict-dev to Composer was denied, see:
- composer/composer#9485
Basically, the devs of Composer decided that conflict-dev will make their pure code too complicated, and conflict is a "bad practice" anyway, everybody should always resolve conflicts three layers deep in dev dependencies before working on anything else.
P.S. Whatever remains of CI is dead. RIP Travis.