Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Removed ContainerAwareMigrationFactory usage#645

Merged
greg0ire merged 1 commit into
doctrine:4.0.xfrom
Nayte91:4.0.x
Dec 2, 2025
Merged

Removed ContainerAwareMigrationFactory usage#645
greg0ire merged 1 commit into
doctrine:4.0.xfrom
Nayte91:4.0.x

Conversation

@Nayte91
Copy link
Copy Markdown
Contributor

@Nayte91 Nayte91 commented Dec 2, 2025

Fixes #638

Summary

In SF8 project that uses this bundle, I had an error:

Attempted to load class "ContainerAwareMigrationFactory" from namespace "Doctrine\Bundle\MigrationsBundle\MigrationsFactory". Did you forget a "use" statement for another namespace? (500 Internal Server Error)

Explanation

If I understand correctly, this class disappeared in commit d90e9f0 ("Remove support for container-aware migrations (#574)", january), but references were back in commit 5eb080a ("Migrate service config from XML to PHP", october). So I think it's an error, when convertir config?

This PR aims to fix that.

@greg0ire
Copy link
Copy Markdown
Member

greg0ire commented Dec 2, 2025

Ah yes, it's probably an error when merging up from 3.x to 4.x

@greg0ire greg0ire added this to the 4.0.0 milestone Dec 2, 2025
@greg0ire greg0ire added the Bug label Dec 2, 2025
@greg0ire greg0ire merged commit 2b36071 into doctrine:4.0.x Dec 2, 2025
7 of 8 checks passed
@greg0ire
Copy link
Copy Markdown
Member

greg0ire commented Dec 2, 2025

Thanks @Nayte91 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants