<p dir="auto"><strong>Symfony version(s) affected</strong>: 3.4.12</p>
<p dir="auto"><strong>Description</strong><br>
The values LessThan::TOO_HIGH_ERROR and LessThntOrEqual::TOO_HIGH_ERROR match (whereas GreaterThan::TOO_LOW_ERROR and GreaterThanOrEqual::TOO_LOW_ERROR don't).</p>
<p dir="auto">I'm not sure which case is supposed to be correct (I suspect the former).</p>
<p dir="auto"><strong>How to reproduce</strong><br>
No reproduction other than to compare the values in the code. ;-)</p>
<p dir="auto"><strong>Possible Solution</strong><br>
Generate a new uuid for one of the Constraints? But what if people have made assumptions about the value being fixed?</p>
<p dir="auto"><strong>Additional context</strong><br>
None</p>
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>maybe</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3 or 3.4. and higher</td>
</tr>
</tbody>
</table>
<p dir="auto">Hello,<br>
we are working with 3.3 or 3.4. and<br>
I am not sure if it is really a problem, but I noticed, that<br>
<a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/LessThan.php">https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/LessThan.php</a><br>
and<br>
<a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/LessThanOrEqual.php">https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/LessThanOrEqual.php</a><br>
have same TOO_HIGH_ERROR value.<br>
They are only ones from all Constraints like that,<br>
for example <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/GreaterThan.php">https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/GreaterThan.php</a> and <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/GreaterThanOrEqual.php">https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/GreaterThanOrEqual.php</a> have different values for same constant.</p>
<p dir="auto">Have a nice day!</p>