Skip to content

v6.1.4

Choose a tag to compare

@cindreta cindreta released this 08 May 20:01
· 16 commits to main since this release
f16fecc

$request->files->all() returns raw Symfony UploadedFile instances, which fail the `Illuminate\Http\UploadedFile` type hint in normalizeFile() — PHP 8 throws a TypeError, caught silently as "file metadata unavailable". Switched to $request->allFiles() which runs
Laravel's convertUploadedFiles() conversion, wrapping Symfony instances in their Illuminate counterparts before normalization. Added a
regression test that seeds the FileBag with a raw Symfony UploadedFile to prevent this from regressing.