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
minor #15028 [Validator] Mention IsNull in Basic Constraints (wkania)
This PR was merged into the 4.4 branch.
Discussion
----------
[Validator] Mention IsNull in Basic Constraints
[Email](https://symfony.com/doc/4.4/reference/constraints/Email.html), [Date](https://symfony.com/doc/4.4/reference/constraints/Date.html), [File](https://symfony.com/doc/4.4/reference/constraints/File.html) and other string constraints have note:
> As with most of the other constraints, null and empty strings are considered valid values. This is to allow them to be optional values. If the value is mandatory, a common solution is to combine this constraint with NotBlank.
This pull request adds a note about `null` to Basic Constraints. Empty/Blank string is an invalid value for them. That's why I added a new note.
Commits
-------
69f9db3 [Validator] Mention IsNull in Basic Constraints
0 commit comments