Gaufrette
Gaufrette copied to clipboard
Doctrine DBAL adapter does not work with doctrine/dbal:^3.0
@pedrotroller, @NicolasNSSM
Hi,
I want to use the doctrine DBAL adapter with Gaufrette but I cannot use it because I use the last current version of doctrine/dbal (v3.3.3) and there is a conflict when installing the adapter composer require gaufrette/doctrine-dbal-adapter
The error is
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires gaufrette/doctrine-dbal-adapter ^0.4.0 -> satisfiable by gaufrette/doctrine-dbal-adapter[v0.4.0].
- gaufrette/doctrine-dbal-adapter v0.4.0 requires doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0, ..., 2.13.8] but the package is fixed to 3.3.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require gaufrette/doctrine-dbal-adapter:*" to figure out if any version is installable, or "composer require gaufrette/doctrine-dbal-adapter:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Can you update the repository https://github.com/Gaufrette/doctrine-dbal-adapter and allow to use the doctrine/dbal:^3 branch ?
Thanks,