Closed Tigrov closed 11 months ago
Patch coverage: 100.00%
and no project coverage change.
Comparison is base (
4b62dd2
) 100.00% compared to head (d666c50
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
DateTime
Json::encode()
by 10-20%About
jsonSerialize()
The PHP documentation mentions: Returns data which can be serialized by
json_encode()
The
processObject()
should return the result ofjsonSerialize()
without processing:But this breaks BC.
If it is requered to pre-process data for
jsonSerialize()
, this should be done insidejsonSerialize()
:What do you think? Do this for the next major version?