Commit 900d142
authored
fix(doctrine): avoid deprecated ArrayAccess on FieldMapping in DoctrineORMListener (#506)
* Enhance DoctrineORMListener for compatibility with Doctrine ORM 3.x
- Updated field mapping logic to support both legacy array mapping and the new FieldMapping object introduced in Doctrine ORM 3.x.
- Ensured backward compatibility with existing implementations while preparing for future ORM 4.0 changes.
* Refactor field mapping logic in DoctrineORMListener for improved compatibility
- Adjusted the handling of field mappings to ensure proper support for the FieldMapping object in Doctrine ORM 3.x.
- Removed deprecated ArrayAccess usage to prepare for future ORM 4.0 changes, enhancing code maintainability.1 parent db9d7c2 commit 900d142
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
| |||
0 commit comments