Closed Kocal closed 3 years ago
This issue is blocking a bunch of softwares during the container lint operation.
This will be solved by https://github.com/doctrine/DoctrineMigrationsBundle/pull/368
Great, thanks.
Hello everybody, any news on this?
https://github.com/doctrine/DoctrineMigrationsBundle/pull/368 has been merged and it will be released (hopefully next week as 3.1.0)
Nice, thanks!
I just upgraded to v3.1.0. The same issue still exist. Downgrading to v3.0.3 work at the moment..
I have also updated to 3.1.1 and still getting the error:
[ERROR] Invalid definition for service "doctrine.migrations.dependency_factory": argument 2 of
"Doctrine\Migrations\DependencyFactory::setDefinition()" accepts "callable",
"App\Migrations\Factory\MigrationFactoryDecorator" passed.
Is there anything else we are meant to be doing?
Please see #413 and symfony/symfony#40773
Hi,
I've followed this comment (https://github.com/doctrine/DoctrineMigrationsBundle/issues/336#issuecomment-648786565) to re-implement Container aware migrations.
It's working fine, but I have an issue when running
bin/console lint:container
:Here are the files I've added:
services.yaml
:config/packages/doctrine_migrations.yaml
:src/Doctrine/Migrations/Version/MigrationFactory.php
:Here is my
composer show
, if it can helps:Do you know what can happens?
Thanks!