[Serializer] Add deprecation missing from UPGRADE files

This commit is contained in:
Maxime Steinhausser 2016-11-29 21:18:47 +01:00
parent 0e12427838
commit 4514c1b0c4
2 changed files with 7 additions and 0 deletions

View File

@ -116,6 +116,11 @@ 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
----------

View File

@ -170,6 +170,8 @@ 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
-----------