-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Unified normalizers/encoders config through default context solely #31699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Serializer] Unified normalizers/encoders config through default context solely #31699
Conversation
src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php
Show resolved
Hide resolved
Rebased & green (except Lock on AppVeyor which is... well, locking the build) |
@@ -93,7 +91,7 @@ public function testNormalize() | |||
->expects($this->once()) | |||
->method('normalize') | |||
->with($object, 'any') | |||
->will($this->returnValue('string_object')) | |||
->willReturn('string_object') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why fabbot is adding these now, but this should be done on lower branches first and reverted here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @ogizanagi. |
… default context solely (ogizanagi) This PR was squashed before being merged into the 5.0-dev branch (closes #31699). Discussion ---------- [Serializer] Unified normalizers/encoders config through default context solely | Q | A | ------------- | --- | Branch? | master <!-- see below --> | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #28709 <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A As planned in #28709. Split into two commits to ease review. Commits ------- 914577e [Serializer] Unified normalizers/encoders config through default context solely
As planned in #28709.
Split into two commits to ease review.