Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #32485 [Validator] Added support for validation of giga values (k…
…ernig) This PR was squashed before being merged into the 3.4 branch (closes #32485). Discussion ---------- [Validator] Added support for validation of giga values As described in issue #32479 | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | just tested on my presta and it works. if further tests are necessary, it would be great if someone could help! | Fixed tickets | #32479 | License | MIT | Doc PR | The validation(function normalizeBinaryFormat) in symfony/src/Symfony/Component/Validator/Constraints/File.php doesn't work with gigabyte values in php.ini. In the PHP documentation it says "PHP allows shortcuts for byte values, including K (kilo), M (mega) and G (giga). " so in my opinion these values should work. Thanks to @kijamve for the fix. Commits ------- 969f2c4 [Validator] Added support for validation of giga values
- Loading branch information