65b48b5b93
This PR was merged into the 3.3 branch.
Discussion
----------
[Serializer] DateTimeNormalizer handling of null and empty values (returning it instead of new object)
| Q | A
| ------------- | ---
| Branch? | 3.3
| Bug fix? | yes
| New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks? | no
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass? | no
| Fixed tickets | #23964
| License | MIT
| Doc PR |
I'm openning the disucussion on this as I think that should be returning null and not a new object.
WDYT ?
Working at home ;)
![img_2914](https://user-images.githubusercontent.com/3451634/33526107-ec2a6ce8-d83b-11e7-8949-f8d360ebb4b9.JPG)
Commits
-------
|
||
---|---|---|
.. | ||
AbstractNormalizerTest.php | ||
AbstractObjectNormalizerTest.php | ||
ArrayDenormalizerTest.php | ||
CustomNormalizerTest.php | ||
DataUriNormalizerTest.php | ||
DateTimeNormalizerTest.php | ||
GetSetMethodNormalizerTest.php | ||
JsonSerializableNormalizerTest.php | ||
ObjectNormalizerTest.php | ||
PropertyNormalizerTest.php | ||
TestDenormalizer.php | ||
TestNormalizer.php |