doctrine/DoctrineMigrationsBundle

Support of symfony 6

mamchyts opened this issue · 2 comments

Hi, we try to use symfony 6 (currently in development)
As result we got next error:

www-data@66f149f81605:~/html$ composer require doctrine/doctrine-migrations-bundle
Using version ^3.1 for doctrine/doctrine-migrations-bundle
./composer.json has been updated
Running composer update doctrine/doctrine-migrations-bundle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - doctrine/doctrine-migrations-bundle[3.1.0, ..., 3.1.x-dev] require symfony/framework-bundle ~3.4|~4.0|~5.0 -> found symfony/framework-bundle[v3.4.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (6.0.*).
    - Root composer.json requires doctrine/doctrine-migrations-bundle ^3.1 -> satisfiable by doctrine/doctrine-migrations-bundle[3.1.0, 3.1.1, 3.1.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Do you have any ideas/plans about symfony 6?

Have you tried aliasing Symfony 6 to 5?

Hi, ok
with aliasing all works fine:

        "symfony/framework-bundle": "6.0.x-dev as 5.4.x-dev",
...
        "symfony/stopwatch": "6.0.x-dev as 5.4.x-dev",

Thank you