File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2508,6 +2508,11 @@ email_validation_mode
2508
2508
2509
2509
**type **: ``string `` **default **: ``loose ``
2510
2510
2511
+ .. deprecated :: 6.2
2512
+
2513
+ The ``loose `` default value is deprecated since Symfony 6.2. Starting from
2514
+ Symfony 7.0, the default value of this option will be ``html5 ``.
2515
+
2511
2516
Sets the default value for the
2512
2517
:ref: `"mode" option of the Email validator <reference-constraint-email-mode >`.
2513
2518
Original file line number Diff line number Diff line change @@ -135,6 +135,11 @@ The default value used by this option is set in the
135
135
:ref: `framework.validation.email_validation_mode <reference-validation-email_validation_mode >`
136
136
configuration option.
137
137
138
+ .. deprecated :: 6.2
139
+
140
+ The ``loose `` value is deprecated since Symfony 6.2. Starting from
141
+ Symfony 7.0, the default value of this option will be ``html5 ``.
142
+
138
143
.. include :: /reference/constraints/_normalizer-option.rst.inc
139
144
140
145
.. include :: /reference/constraints/_payload-option.rst.inc
You can’t perform that action at this time.
0 commit comments