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
bug #4615 Update NotBlank to reflect the actual validation (DRvanR)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes#4615).
Discussion
----------
Update NotBlank to reflect the actual validation
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | all
| Fixed tickets | n/a
As can be seen in the [validator][1] class values that are false also lead to a violation. This was not documented, which we discovered when using this constraint 😉
[1]: https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Validator/Constraints/NotBlankValidator.php#L34
Commits
-------
b11ad2e Update NotBlank to reflect the actual validation
0 commit comments