Problem/Motivation
XmlEncoder currently extends SerializerAwareEncoder, which is deprecated since Symfony 3.2 and will be removed in version 4.0. It is suggested that SerializerAwareTrait be used instead.
Proposed resolution
Alter XmlEncoder so it does not extend SerializerAwareEncoder, but implements SerializerAwareInterface directly and uses SerializerAwareTrait;
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2958293-2.patch | 1.08 KB | rlhawk |
Comments
Comment #2
rlhawkHere's a patch that implements this change.
Comment #3
wim leersPerfect! Thank you for helping us stay on top of things! I hope to see you around more, it's extremely rare that one can RTBC the first iteration of a patch! :D (Be proud!)
Comment #4
wim leersComment #5
wim leersComment #6
alexpottCommitted c3e5648 and pushed to 8.6.x. Thanks!