Commit 02a0732
committed
bug symfony#60953 [DoctrineBridge] Restore compatibility with Doctrine ODM (pepeh)
This PR was merged into the 6.4 branch.
Discussion
----------
[DoctrineBridge] Restore compatibility with Doctrine ODM
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#60921
| License | MIT
Ensure that the metadata class being inspected is an instance of Doctrine\ORM\Mapping\ClassMetadata to fix ODM integration when both ODM and ORM packages are installed in the same Symfony project.
Commits
-------
665f927 [DoctrineBridge] Restore compatibility with Doctrine ODM by validating $class object typeFile tree
1 file changed
+1
-2
lines changed- src/Symfony/Bridge/Doctrine/Validator/Constraints
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
96 | | - | |
| 95 | + | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| |||
0 commit comments