Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I tested
--prefer-lowest
according to the offical docs.Because some of my test tools requires a specific version of a framework, I found the following use case:
My Setup
composer.json
Problem
The
package/test-core
can only check the same version ofpackage/core
. So still, with--prefer-lowest
we install at least version above 9.20 in our (unit) tests.This example is really simplified. In my use case, there are different versions with different requirements for the test package
Possible Solution
Add a "strict" mode when installed with
--prefer-lowest
with the dev packages. This would be the best scenario, but it would probably break some already defined CI pipelines.Another
--strict
argument would probably solve this too :)Beta Was this translation helpful? Give feedback.
All reactions