We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 443db84 commit 23073a8Copy full SHA for 23073a8
test/DependencyInjection/ConfigurationTest.php
@@ -112,10 +112,6 @@ public function optionValuesProvider(): array
112
['excluded_exceptions', [\Throwable::class]],
113
['logger', 'some-logger'],
114
['max_breadcrumbs', 15],
115
- ['max_request_body_size', 'none'],
116
- ['max_request_body_size', 'small'],
117
- ['max_request_body_size', 'medium'],
118
- ['max_request_body_size', 'always'],
119
['max_value_length', 1000],
120
['prefixes', ['some-string']],
121
['project_root', '/some/dir'],
@@ -134,6 +130,13 @@ public function optionValuesProvider(): array
134
130
}
135
131
136
132
if ($this->classSerializersAreSupported()) {
133
+ $options[] = ['max_request_body_size', 'none'];
+ $options[] = ['max_request_body_size', 'small'];
+ $options[] = ['max_request_body_size', 'medium'];
+ $options[] = ['max_request_body_size', 'always'];
137
+ }
138
+
139
+ if ($this->maxRequestBodySizeIsSupported()) {
140
$options[] = ['class_serializers', ['count']];
141
142
0 commit comments