mongodb-migrations-bundle
mongodb-migrations-bundle copied to clipboard
PHP 8.0 support
Hi,
not working for PHP 8
best regards
Hello, It's fixed here https://github.com/doesntmattr/mongodb-migrations-bundle/compare/master...emilZelty:php-8-compatibility
Please merge
Thank you
Please adapt this project for PHP 8.* and Symfony 6
@Makapashev, I've forked both this and mongodb-migrations
. See devture/mongodb-migrations and devture/mongodb-migrations-bundle.
You should be able to replace doesntmatter
with devture
in your composer.json
and bump the versions to 4.0.*
and it should work on PHP 8 / Symfony 6. Example composer.json
:
{
"requires": {
"devture/mongodb-migrations": "4.0.*",
"devture/mongodb-migrations-bundle": "4.0.*"
}
}
I have no interest in maintaining these libraries or developing new features, but I wanted to migrate some systems to Symfony 6 and couldn't find any fork which worked on Symfony 6, so I had to fix things up a bit myself. I've tested generating migrations, migrating and rolling migrations back, so the main things seem to work.
@spantaleev Thank you so much!
@caciobanu it seems you do not maintain anymore this repository, do you ?
When I see :
antimattr/mongodb-migrations ==> doesntmattr/mongodb-migrations ==> devture/mongodb-migrations
antimattr/mongodb-migrations-bundle ==> doesntmattr/mongodb-migrations-bundle ==> devture/mongodb-migrations-bundle
I think that something goes not pretty well.
But I understand that priorities change !