symfony/symfony — pull request #11928 by webmozart (2014-09-15 17:37:00+00:00)
Title: [Validator] The ratio of the ImageValidator is rounded to two decimals now

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -

Before, using a max ratio of 1.33 for 4-by-3 images did not work, since the actual ratio is 1.3333... The actual ratio is now rounded to two decimals before comparing.