Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[FileValidator] Format file size in validation message according to binaryFormat option #27970
The binaryFormat option of the constraint is not taken into account if the maxsize limit is defined by the php configuration files.
If the binaryOption is not set, the unit of measurement used remains in binary because it’s the unit used in php configuration files.
I'm not very proud of how i changed the tests, i think i used a dirty trick.