mongodb-migrations-bundle icon indicating copy to clipboard operation
mongodb-migrations-bundle copied to clipboard

PHP 8.0 support

Open quazardous opened this issue 3 years ago • 5 comments

Hi,

not working for PHP 8

best regards

quazardous avatar Jun 01 '21 14:06 quazardous

Hello, It's fixed here https://github.com/doesntmattr/mongodb-migrations-bundle/compare/master...emilZelty:php-8-compatibility

Please merge

Thank you

tijiene avatar Jun 14 '21 13:06 tijiene

Please adapt this project for PHP 8.* and Symfony 6

Makapashev avatar Feb 22 '22 10:02 Makapashev

@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 avatar Feb 25 '22 14:02 spantaleev

@spantaleev Thank you so much!

Makapashev avatar Feb 28 '22 08:02 Makapashev

@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 !

sterrien avatar Jan 20 '23 15:01 sterrien