Skip to content
Permalink
Browse files

bug #30324 [Validator] Fixed duplicate UUID (ralfkuehnel)

This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Fixed duplicate UUID

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30285
| License       | MIT
| Doc PR        | N/A

Fixes the `TOO_HIGH_ERROR` constant had the same value in two different constraints: `LessThan` and `LessThanOrEqual`.

Commits
-------

0bd5dd8 [Validator] Fixed duplicate UUID
  • Loading branch information...
fabpot committed Feb 21, 2019
2 parents 1914031 + 0bd5dd8 commit a67441ab1f30dc7baf0e8acdb2a52706cacb44b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Symfony/Component/Validator/Constraints/LessThanOrEqual.php
@@ -20,7 +20,7 @@
*/
class LessThanOrEqual extends AbstractComparison
{
const TOO_HIGH_ERROR = '079d7420-2d13-460c-8756-de810eeb37d2';
const TOO_HIGH_ERROR = '30fbb013-d015-4232-8b3b-8f3be97a7e14';
protected static $errorNames = [
self::TOO_HIGH_ERROR => 'TOO_HIGH_ERROR',

0 comments on commit a67441a

Please sign in to comment.
You can’t perform that action at this time.