10000 Merge branch '5.4' into 6.1 · symfony/symfony@6bc0882 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6bc0882

Browse files
committed
Merge branch '5.4' into 6.1
* 5.4: Modify processing of uploaded files to be compatible with PHP 8.1
2 parents 2add2f2 + 337426c commit 6bc0882

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Form/NativeRequestHandler.php

+2
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ private static function fixPhpFilesArray(mixed $data): mixed
190190
return $data;
191191
}
192192

193+
// Remove extra key added by PHP 8.1.
194+
unset($data['full_path']);
193195
$keys = array_keys($data);
194196
sort($keys);
195197

0 commit comments

Comments
 (0)
0