I have saved a file with this command
$newFile = [ \'event_id\' => $event->id, \'path\' => $storePath ]; EventFi
getClientSize() is deprecated starting version 4.1. Use getSize() instead.
https://github.com/symfony/symfony/blob/4.1/UPGRADE-4.1.md#httpfoundation