You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-4.2.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -385,7 +385,7 @@ Validator
385
385
* The `symfony/translation` dependency has been removed - run `composer require symfony/translation` if you need the component
386
386
* The `checkMX` and `checkHost` options of the `Email` constraint are deprecated
387
387
* The component is now decoupled from `symfony/translation` and uses `Symfony\Contracts\Translation\TranslatorInterface` instead
388
-
* The `ValidatorBuilderInterface` has been deprecated and `ValidatorBuilder` made final
388
+
* The `ValidatorBuilderInterface` has been deprecated and `ValidatorBuilder::setTranslator()` has been made final
389
389
* Deprecated validating instances of `\DateTimeInterface` in `DateTimeValidator`, `DateValidator` and `TimeValidator`. Use `Type` instead or remove the constraint if the underlying model is type hinted to `\DateTimeInterface` already.
390
390
* Using the `Bic`, `Country`, `Currency`, `Language` and `Locale` constraints without `symfony/intl` is deprecated
391
391
* Using the `Email` constraint in strict mode without `egulias/email-validator` is deprecated
Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -259,7 +259,7 @@ Validator
259
259
* Calling `EmailValidator::__construct()` method with a boolean parameter has been removed, use `EmailValidator("strict")` instead.
260
260
* Removed the `checkDNS` and `dnsMessage` options from the `Url` constraint.
261
261
* The component is now decoupled from `symfony/translation` and uses `Symfony\Contracts\Translation\TranslatorInterface` instead
262
-
* The `ValidatorBuilderInterface` has been removed and `ValidatorBuilder` is now final
262
+
* The `ValidatorBuilderInterface` has been removed
263
263
* Removed support for validating instances of `\DateTimeInterface` in `DateTimeValidator`, `DateValidator` and `TimeValidator`. Use `Type` instead or remove the constraint if the underlying model is type hinted to `\DateTimeInterface` already.
264
264
* The `symfony/intl` component is now required for using the `Bic`, `Country`, `Currency`, `Language` and `Locale` constraints
265
265
* The `egulias/email-validator` component is now required for using the `Email` constraint in strict mode
0 commit comments