respect-validation/tests
Henrique Moody a107b8cb9f
Prevent validators from generating validatorBuilder Ids
When calling `v::validatorName()`, a `ValidatorBuilder` is instantiated
to manage the validation chain. However, users generally expect the ID
to reflect the specific validator invoked rather than the internal
builder class.

This commit updates `Id::fromValidator()` to resolve the ID from the
underlying validator when it is the sole member of the
`ValidatorBuilder`, ensuring more intuitive identification.
2026-01-26 13:57:39 +01:00
..
benchmark Setup Continuous Performance 2026-01-21 06:31:37 +00:00
feature Replace template rendering code with Respect\StringFormatter 2026-01-21 17:29:15 +01:00
fixtures Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
src Rename library/ to src/ 2026-01-22 13:13:15 +01:00
unit Prevent validators from generating validatorBuilder Ids 2026-01-26 13:57:39 +01:00
bootstrap.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
Pest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00