8000 [Serializer] Add deprecation missing from UPGRADE files by ogizanagi · Pull Request #20691 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Serializer] Add deprecation missing from UPGRADE files #20691

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

Merged
merged 3 commits into from
Dec 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions UPGRADE-3.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ HttpFoundation
- `isInvalid`/`isSuccessful`/`isRedirection`/`isClientError`/`isServerError`
- `isOk`/`isForbidden`/`isNotFound`/`isRedirect`/`isEmpty`

Serializer
----------

* Method `AbstractNormalizer::instantiateObject()` will have a 6th
`$format = null` argument in Symfony 4.0. Not defining it when overriding
the method is deprecated.

TwigBridge
----------

Expand Down
4 changes: 4 additions & 0 deletions UPGRADE-4.0.md
7B14
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ Serializer
* The ability to pass a Doctrine `Cache` instance to the `ClassMetadataFactory`
class has been removed. You should use the `CacheClassMetadataFactory` class
instead.

* Not defining the 6th argument `$format = null` of the
`AbstractNormalizer::instantiateObject()` method when overriding it is not
supported anymore.

Translation
-----------
Expand Down
0