8000 minor #26285 [FrameworkBundle] fix lowest supported Serializer versio… · symfony/symfony@dc56a83 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc56a83

Browse files
committed
minor #26285 [FrameworkBundle] fix lowest supported Serializer version (xabbuh)
This PR was merged into the 4.1-dev branch. Discussion ---------- [FrameworkBundle] fix lowest supported Serializer version | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | The `AbstractObjectNormalizer::setMaxDepthHandler()` method does not exist before `symfony/serializer` 4.1. Commits ------- 3b092a0 fix lowest supported Serializer version
2 parents 7be0ccc + 3b092a0 commit dc56a83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"symfony/console": "<3.4",
6868
"symfony/form": "<3.4",
6969
"symfony/property-info": "<3.4",
70-
"symfony/serializer": "<3.4",
70+
"symfony/serializer": "<4.1",
7171
"symfony/stopwatch": "<3.4",
7272
"symfony/translation": "<3.4",
7373
"symfony/validator": "<4.1",

src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ abstract protected function extractAttributes($object, $format = null, array $co
214214
abstract protected function getAttributeValue($object, $attribute, $format = null, array $context = array());
215215

216216
/**
217-
* Sets an handler function that will be called when the max depth is reached.
217+
* Sets a handler function that will be called when the max depth is reached.
218218
*/
219219
public function setMaxDepthHandler(?callable $handler): void
220220
{

0 commit comments

Comments
 (0)
0