Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate ContainerAwareMigrationFactory #518

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

derrabus
Copy link
Member

ContainerAwareInterface will be removed in Symfony 7 which renders ContainerAwareMigrationFactory useless. I'm therefore deprecating this feature.

I realize that we don't have a replacement (yet), but since we already know that we can't keep this feature, we might as well deprecate it now. Someone who uses that feature might want to step forward and build a replacement.

@derrabus derrabus added this to the 3.3.0 milestone Nov 13, 2023
@@ -3,7 +3,7 @@
errorLevel="4"
phpVersion="8.2"
findUnusedBaselineEntry="true"
findUnusedCode="true"
findUnusedCode="false"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, Psalm starts to detect classes used by DoctrineMigrationsExtensionTest as "unused" after my change. My motivation to investigate that is rather limited, I must admit. 😓

@derrabus derrabus merged commit 94676cc into doctrine:3.3.x Nov 13, 2023
15 checks passed
@derrabus derrabus deleted the deprecate/container-aware branch November 13, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants