Commit 22e9fd1
committed
bug symfony#54485 [Serializer] Ignore when using #[Ignore] on a non-accessor (nicolas-grekas)
This PR was merged into the 5.4 branch.
Discussion
----------
[Serializer] Ignore when using #[Ignore] on a non-accessor
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#54477
| License | MIT
Because ignore means ignore so we know what to do with the attribute even when it's on something else than an accessor.
Commits
-------
580b06a [Serializer] Ignore when using #[Ignore] on a non-accessorFile tree
2 files changed
+4
-7
lines changed- src/Symfony/Component/Serializer
- Mapping/Loader
- Tests/Mapping/Loader
2 files changed
+4
-7
lines changedLines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 144 | | |
148 | 145 | | |
149 | 146 | | |
150 | 147 | | |
| 148 | + | |
| 149 | + | |
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
| |||
0 commit comments