We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd1ec11 commit 3693e83Copy full SHA for 3693e83
src/Symfony/Component/Form/Extension/Validator/Constraints/Form.php
@@ -18,14 +18,14 @@
18
*/
19
class Form extends Constraint
20
{
21
- const NOT_SYNCHRONIZED_ERROR = 1;
22
- const NO_SUCH_FIELD_ERROR = 2;
+ const NOT_SYNCHRONIZED_ERROR = '1dafa156-89e1-4736-b832-419c2e501fca';
+ const NO_SUCH_FIELD_ERROR = '6e5212ed-a197-4339-99aa-5654798a4854';
23
24
/**
25
* @deprecated since version 2.6, to be removed in 3.0.
26
* Use {@self NOT_SYNCHRONIZED_ERROR} instead.
27
28
- const ERR_INVALID = 1;
+ const ERR_INVALID = self::NOT_SYNCHRONIZED_ERROR;
29
30
protected static $errorNames = array(
31
self::NOT_SYNCHRONIZED_ERROR => 'NOT_SYNCHRONIZED_ERROR',
0 commit comments