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

Skip to content

Deprecate ContainerAwareMigrationFactory#518

Merged
derrabus merged 1 commit into
doctrine:3.3.xfrom
derrabus:deprecate/container-aware
Nov 13, 2023
Merged

Deprecate ContainerAwareMigrationFactory#518
derrabus merged 1 commit into
doctrine:3.3.xfrom
derrabus:deprecate/container-aware

Conversation

@derrabus
Copy link
Copy Markdown
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
@derrabus derrabus force-pushed the deprecate/container-aware branch from 525b92b to b53c122 Compare November 13, 2023 14:15
@derrabus derrabus force-pushed the deprecate/container-aware branch from b53c122 to 97a1b46 Compare November 13, 2023 14:23
@derrabus derrabus requested review from goetas and greg0ire November 13, 2023 16:21
Comment thread psalm.xml
phpVersion="8.2"
findUnusedBaselineEntry="true"
findUnusedCode="true"
findUnusedCode="false"
Copy link
Copy Markdown
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
@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