validator
validator copied to clipboard
Provides tools to validate values
add missing spaces of limit parameter for the max length violation message
Replaced LogicalOr instantiation since the BinaryOperator has a protected constructor.
Make fail cases when no violations expected more informative
Problem: The tldMessage is missing from the constructor so it's not possible to configure it from PHP annotations.  Solution: Add the missing parameter. I have not added unit test...
**Problem:** The NotBlank validator previously failed to recognize strings consisting solely of whitespace characters (e.g., "` `" or "` `") as blank. **Solution:** This PR updates the NotBlank validator's logic...