respect-validation/tests/unit
Alexandre Gomes Gaigalas 2600db3c74 Introduce Trimmed validator
This commit introduces the `Trimmed` validator that ensures a string
cannot start or end with a list of specific values.

The default values used are a selected list of Unicode invisible
characters.

To support this change, the StartsWith and EndsWith validators were
modified so they can also support multiple values to check for.

While StartsWith and EndsWith are more generic, and also perform
start-of-array and end-of-array kinds of checks, Trimmed is more
focused on string inputs, which tailors to a more specific use
case.
2026-02-26 10:34:53 +00:00
..
Exceptions Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Helpers Enhance LintSpdxCommand with contributor tracking and header normalization 2026-02-03 15:23:20 +01:00
Message Update translation docs 2026-02-06 17:11:34 +00:00
Transformers Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Validators Introduce Trimmed validator 2026-02-26 10:34:53 +00:00
ContainerRegistryTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
IdTest.php Prevent validators from generating validatorBuilder Ids 2026-01-26 13:57:39 +01:00
NamespacedRuleFactoryTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
ResultQueryTest.php Add wildcard support to ResultQuery::findByPath() 2026-02-08 22:43:06 +01:00
ResultTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
ValidatorBuilderTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00