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
25082508
25092509**type **: ``string `` **default **: ``loose ``
25102510
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+
25112516Sets the default value for the
25122517:ref: `"mode" option of the Email validator <reference-constraint-email-mode >`.
25132518
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
135135:ref: `framework.validation.email_validation_mode <reference-validation-email_validation_mode >`
136136configuration option.
137137
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+
138143.. include :: /reference/constraints/_normalizer-option.rst.inc
139144
140145.. include :: /reference/constraints/_payload-option.rst.inc
You can’t perform that action at this time.
0 commit comments