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 ca6266d

Browse filesBrowse files
committed
bug #31465 [Serializer] Fix BC break: DEPTH_KEY_PATTERN must be public (dunglas)
This PR was merged into the 4.3 branch. Discussion ---------- [Serializer] Fix BC break: DEPTH_KEY_PATTERN must be public | Q | A | ------------- | --- | Branch? | 4.3 Bug fix? | yes | New feature? |no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a Fix a BC break introduced by #30888. This constant is used by API Platform. Commits ------- 1bdf2af [Serializer] Fix BC break: DEPTH_KEY_PATTERN must be public
2 parents ae38ed8 + 1bdf2af commit ca6266d
Copy full SHA for ca6266d

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
4141
/**
4242
* How to track the current depth in the context.
4343
*/
44-
private const DEPTH_KEY_PATTERN = 'depth_%s::%s';
44+
public const DEPTH_KEY_PATTERN = 'depth_%s::%s';
4545

4646
/**
4747
* While denormalizing, we can verify that types match.

0 commit comments

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