liip / liip/LiipFunctionalTestBundle

[2.0][DX] Suggested dependencies and version constraint

Open
#466 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
648
Forks
179
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the suggested-dependency handling described for doctrine-fixtures-bundle and compare it with the missing-dependency message referenced from #437. Determine how a version constraint could be checked or reported; done means users with an incompatible version receive a useful version-specific message rather than only an installation warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
developer-experience, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.