Closed jetexe closed 5 years ago
When you try to validate uploaded file by Laravel you will always get validation error becouse Symfony use is_uploaded_file function to validate file.
is_uploaded_file
Now we can mock this function just for Symfony\Component\HttpFoundation\File. It will always return true
Symfony\Component\HttpFoundation\File
true
Fixes #10
Looks great! Thx!
Merged into temporary branch for some changes
Description
When you try to validate uploaded file by Laravel you will always get validation error becouse Symfony use
is_uploaded_file
function to validate file.Now we can mock this function just for
Symfony\Component\HttpFoundation\File
. It will always returntrue
Fixes #10
Checklist