You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DependencyInjection/Configuration.php
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -141,21 +141,11 @@ public function getConfigTreeBuilder()
141
141
->end()
142
142
->scalarNode('formatter')->defaultNull()->end()
143
143
->scalarNode('captured_body_length')
144
-
->beforeNormalization()
145
-
->always(function ($maxLength) {
146
-
if (null === $maxLength) {
147
-
returnnull;
148
-
}
149
-
150
-
if (!is_int($maxLength)) {
151
-
$invalidConfiguration = newInvalidConfigurationException('The child node "captured_body_length" at path "httplug.profiling" must be an integer or null.');
->thenInvalid('The child node "captured_body_length" at path "httplug.profiling" must be an integer or null ("%s" given).')
159
149
->end()
160
150
->defaultValue(0)
161
151
->info('Limit long HTTP message bodies to x characters. If set to 0 we do not read the message body. If null the body will not be truncated. Only available with the default formatter (FullHttpMessageFormatter).')
0 commit comments