Laravel Version
13.25.0
PHP Version
8.5.9
Database Driver & Version
No response
Description
We have this Laravel rule:
/**
* @return array<string, array<int, string|File>>
*/
public function rules(): array
{
return [
'filepond_files' => ['required', 'array'],
'filepond_files.*' => ['required', File::types(['pdf', 'png', 'jpg'])->min('1kb')->max('5mb')],
];
}
and it was and is working fine in Laravel v13.24.0 but broke with v13.25.0 🤔
Have not checked yet which commit broke it, but we get the validation errors now, that no file was uploaded when everything is there.
Steps To Reproduce
Use the rule as provided and try to upload a file.
Laravel Version
13.25.0
PHP Version
8.5.9
Database Driver & Version
No response
Description
We have this Laravel rule:
and it was and is working fine in Laravel v13.24.0 but broke with v13.25.0 🤔
Have not checked yet which commit broke it, but we get the validation errors now, that no file was uploaded when everything is there.
Steps To Reproduce
Use the rule as provided and try to upload a file.