Skip to content

Commit

Permalink
minor #26285 [FrameworkBundle] fix lowest supported Serializer versio…
Browse files Browse the repository at this point in the history
…n (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
  • Loading branch information
Tobion committed Feb 24, 2018
2 parents 7be0ccc + 3b092a0 commit dc56a83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/composer.json
Expand Up @@ -67,7 +67,7 @@
"symfony/console": "<3.4",
"symfony/form": "<3.4",
"symfony/property-info": "<3.4",
"symfony/serializer": "<3.4",
"symfony/serializer": "<4.1",
"symfony/stopwatch": "<3.4",
"symfony/translation": "<3.4",
"symfony/validator": "<4.1",
Expand Down
Expand Up @@ -214,7 +214,7 @@ abstract protected function extractAttributes($object, $format = null, array $co
abstract protected function getAttributeValue($object, $attribute, $format = null, array $context = array());

/**
* Sets an handler function that will be called when the max depth is reached.
* Sets a handler function that will be called when the max depth is reached.
*/
public function setMaxDepthHandler(?callable $handler): void
{
Expand Down

0 comments on commit dc56a83

Please sign in to comment.