Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commitc944281
committed
bug#47189 [Validator] Add additional hint when
This PR was merged into the 4.4 branch.Discussion----------[Validator] Add additional hint when `egulias/email-validator` needs to be installed| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets || License | MIT| Doc PR |When using the `Symfony\Component\Validator\Constraints\Email` constraint with `'mode' => 'strict'`, a helpful error message is shown when the necessary package is not installed.However, when configuring `strict` mode as a framework setting (https://symfony.com/doc/current/reference/configuration/framework.html#email-validation-mode) and omitting the `mode` setting on the constraint itself, that message was missing.Commits-------3924498 [Validator] Hint that `egulias/email-validator` needs to be installed for strict mode as default configegulias/email-validator needs to be installed (mpdude)File tree
1 file changed
+4
-0
lines changed- src/Symfony/Component/Validator/Constraints
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
0 commit comments
Comments
(0)