Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 21048bc

Browse filesBrowse files
committed
[Serializer] remove remaining deprecated features
1 parent 6da6853 commit 21048bc
Copy full SHA for 21048bc

File tree

4 files changed

+8
-68
lines changed
Filter options

4 files changed

+8
-68
lines changed

‎src/Symfony/Component/Serializer/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
CHANGELOG
22
=========
33

4+
4.0.0
5+
-----
6+
7+
* removed the `SerializerAwareEncoder` and `SerializerAwareNormalizer` classes,
8+
use the `SerializerAwareTrait` instead
9+
* removed the `Serializer::$normalizerCache` and `Serializer::$denormalizerCache`
10+
properties
11+
412
3.3.0
513
-----
614

‎src/Symfony/Component/Serializer/Encoder/SerializerAwareEncoder.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Encoder/SerializerAwareEncoder.php
-27Lines changed: 0 additions & 27 deletions
This file was deleted.

‎src/Symfony/Component/Serializer/Normalizer/SerializerAwareNormalizer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Normalizer/SerializerAwareNormalizer.php
-27Lines changed: 0 additions & 27 deletions
This file was deleted.

‎src/Symfony/Component/Serializer/Serializer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Serializer.php
-14Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,6 @@ class Serializer implements SerializerInterface, NormalizerInterface, Denormaliz
5454
*/
5555
protected $normalizers = array();
5656

57-
/**
58-
* @var array
59-
*
60-
* @deprecated since 3.1 will be removed in 4.0
61-
*/
62-
protected $normalizerCache = array();
63-
64-
/**
65-
* @var array
66-
*
67-
* @deprecated since 3.1 will be removed in 4.0
68-
*/
69-
protected $denormalizerCache = array();
70-
7157
public function __construct(array $normalizers = array(), array $encoders = array())
7258
{
7359
foreach ($normalizers as $normalizer) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.