Skip to content

Conversation

stof
Copy link
Member

@stof stof commented Sep 8, 2021

When using the getAllMetadata API of the Doctrine ORM, it will load the abstract Group class due to being a MappedSuperClass in the mapping. This was triggering the deprecation warning about using groups, even though they were not actually used.
Given that this class is abstract, the only way to actually use it involves extending it, which gets a deprecation warning triggered by the DebugClassLoader.

When using the `getAllMetadata` API of the Doctrine ORM, it will load
the abstract Group class due to being a MappedSuperClass in the mapping.
This was triggering the deprecation warning about using groups, even
though they were not actually used.
Given that this class is abstract, the only way to actually use it
involves extending it, which gets a deprecation warning triggered by the
DebugClassLoader.
@stof stof merged commit 813161b into FriendsOfSymfony:2.x Sep 8, 2021
@stof stof deleted the fix_more_deprecation branch September 8, 2021 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant