Commit be2d262
committed
Fix a deprecation about groups being triggered when loading ORM metadata
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.1 parent dcc2ec6 commit be2d262
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
0 commit comments