mongodb-migrations-bundle
mongodb-migrations-bundle copied to clipboard
Symfony MongoDBMigrationsBundle
Hi, not working for PHP 8 best regards
Removes unsupported `doctrine/mongodb-odm-bundle:^3.0` dependency. Why? - this bundle relies on `doesntmattr/mongodb-migrations:^3.0` ([link](https://github.com/doesntmattr/mongodb-migrations-bundle/blob/v3.0.1/composer.json#L16)) - `doesntmattr/mongodb-migrations:^3.0` makes use of `DocumentManager::getClient` ([link](https://github.com/doesntmattr/mongodb-migrations/blob/3.0.0/src/AntiMattr/MongoDB/Migrations/Tools/Console/Command/AbstractCommand.php#L94)) - `DocumentManager::getClient` [was added in `doctrine/mongodb-odm` 2.x](https://github.com/doctrine/mongodb-odm/commit/7158b08278ab753652f2fec2eacf9d7f236fcffa#diff-c5b64e39a058b30afece06cc7cd217b7R222). - latest `doctrine/mongodb-odm-bundle` ([v3.6.2](https://packagist.org/packages/doctrine/mongodb-odm-bundle#3.6.2))...
Can this logic be implemented in scope of the bundle? It can be very handy in some cases. Similar question was aroused in [doctrine/DoctrineMigrationsBundle](https://github.com/doctrine/DoctrineMigrationsBundle/issues/152)
In latest version of doctrine orm fixtures, it's now possible to have fixtures as services which provides all the dependency injection goodies and no issues with getting public services from...