LiipFunctionalTestBundle icon indicating copy to clipboard operation
LiipFunctionalTestBundle copied to clipboard

[2.0][DX] Suggested dependencies and version constraint

Open magnetik opened this issue 7 years ago • 4 comments

Some suggested package, such as doctrine-fixtures-bundle requires a specific version to work (for fixtures it's 3.0), but because they are only suggested dependencies, no check are done on the version.

So someone that have the doctrine-fixtures-bundle in 2.0 will see a message doctrine/doctrine-fixtures-bundle must be installed to use this method. (per #437) but nothing related to the version.

Not sure how it can be handled in a clean way.

magnetik avatar Nov 06 '18 10:11 magnetik

Does a conflict constraint in the composer.json solve this issue?

Jean85 avatar Nov 06 '18 11:11 Jean85

What about adding adding the minimal version in the exception?

alexislefebvre avatar Nov 07 '18 21:11 alexislefebvre

image

magnetik avatar Nov 08 '18 16:11 magnetik

Yes we can use both solutions. 🙂

alexislefebvre avatar Nov 10 '18 15:11 alexislefebvre