-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Milestone
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 4.1 |
After #25324, using file form fields (via Symfony\Component\DomCrawler\Field\FileFormField::upload()
for testing) still triggers deprecation notices like Passing a size in the constructor is deprecated since 4.1 and will be removed in 5.0. Use getSize() instead
, e.g. from
$file = new UploadedFile($file['tmp_name'], $file['name'], $file['type'], $file['size'], $file['error']); |
Simperfit