Skip to content

Commit 16236cd

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: [Routing] Add missing options in docblock [VarDumper] Fix dumping continuations [HttpFoundation] fixed Request::getContent() reusage bug [Form] Skip CSRF validation on form when POST max size is exceeded Enhance the phpDoc return types so IDEs can handle the configuration tree. fixes Remove 3.0 from branch suggestions for fixes in PR template [Process] Strengthen Windows pipe files opening (again...) Fix #19531 [Form] DateType fails parsing when midnight is not a valid time
2 parents 247bc5c + 74bfa8b commit 16236cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ public function getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)
201201

202202
foreach ($this->data as $dump) {
203203
$dumper->dump($dump['data']->withMaxDepth($maxDepthLimit)->withMaxItemsPerDepth($maxItemsPerDepth));
204-
205-
rewind($data);
206-
$dump['data'] = stream_get_contents($data);
204+
$dump['data'] = stream_get_contents($data, -1, 0);
207205
ftruncate($data, 0);
208206
rewind($data);
209207
$dumps[] = $dump;

0 commit comments

Comments
 (0)