Skip to content

Commit 98f70c1

Browse files
Merge branch '6.0' into 6.1
* 6.0: (27 commits) [DoctrineBridge] fix tests [HttpKernel] Fix session test cases for symfony [FrameworkBundle] Fix missing arguments when a serialization default context is bound [Runtime] Fix --env and --no-debug with dotenv_overload [Cache] fix merge cs fix [Finder] Fix finding VCS re-included files in excluded directory [Yaml] Improve the deprecation warnings for octal numbers to suggest migrating Fix Choice constraint with associative choices array [Form] UrlType should not add protocol to emails [Dotenv] Fix bootEnv() override with .env.local.php when the env key already exists Silence isatty warnings during tty detection [Serializer] Fix AbstractObjectNormalizer not considering pseudo type false [Notifier] Fix encoding of messages with FreeMobileTransport [Cache] workaround PHP crash [Console] Fix PHP 8.1 deprecation in ChoiceQuestion [HttpKernel] Fix compatibility with php bridge and already started php sessions [Notifier] smsapi-notifier - correct encoding Replaced full CoC text with link to documentation Making the parser stateless ...
2 parents f3d9257 + e4f9e98 commit 98f70c1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Resources/config/serializer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
->tag('serializer.normalizer', ['priority' => -910])
9898

9999
->set('serializer.normalizer.json_serializable', JsonSerializableNormalizer::class)
100+
->args([null, null])
100101
->tag('serializer.normalizer', ['priority' => -900])
101102

102103
->set('serializer.normalizer.problem', ProblemNormalizer::class)
@@ -176,6 +177,7 @@
176177
->tag('serializer.encoder')
177178

178179
->set('serializer.encoder.yaml', YamlEncoder::class)
180+
->args([null, null])
179181
->tag('serializer.encoder')
180182

181183
->set('serializer.encoder.csv', CsvEncoder::class)

Tests/Functional/app/Serializer/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ imports:
22
- { resource: ../config/default.yml }
33

44
framework:
5-
serializer: { enabled: true }
5+
serializer:
6+
enabled: true
7+
default_context:
8+
enable_max_depth: true
69
property_info: { enabled: true }
710

811
services:

0 commit comments

Comments
 (0)