respect-validation/tests/feature
Alexandre Gomes Gaigalas ec16b3d2df Refactor case sensitiveness support
This is a mid-size refactor that affects several validators.

Most prominently, the ones that had an `$identical` parameter
to deal with case sensitiveness.

This parameter was confusing, effectively making validators such
as `Contains` behave very differently for arrays versus strings.

In arrays, `$identical` meant "the same type", while it in strings
it meant "case sensitive".

That parameter was removed, and the default behavior is now to
always compare **case sensitive** and strict typing.

A document explaining how to combine other validators in order
to achieve case _insensitive_ comparisons was added.

Additionally, the `Call` validator was refactored back to be
suitable to take on the task of being a fast, quick composable
validator.

With the introduction of `Circuit`, we can shift the responsibility
of dealing with possible mismatches to the user. This kind of type
handling is demonstrated in how I refactored `Tld` to account for
the type mismatch without setting error handlers.
2026-01-30 17:11:13 +00:00
..
Issues Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
Readme Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
Transformers Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
Validators Refactor case sensitiveness support 2026-01-30 17:11:13 +00:00
AssertWithKeysTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
AssertWithPropertiesTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
AssertWithTemplatesTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
DoNotRelyOnNestedValidationExceptionInterfaceForCheckTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
GetFullMessageShouldIncludeAllValidationMessagesInAChainTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
GetMessagesShouldIncludeAllValidationMessagesInAChainTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
GetMessagesTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
GetMessagesWithReplacementsTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
HandlingNamesTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
KeysAsValidatorNamesTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
NotShouldWorkWithBuilderTestTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
NotWithoutRecursionTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
NotWithRecursionTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
ResultQueryTest.php Fix ResultQuery::findByPath() for nested paths 2026-01-27 13:25:40 +01:00
SerializableTest.php Remove mathematical, niche and deprecated validators 2026-01-30 16:08:27 +00:00
SetTemplateWithMultipleValidatorsShouldUseTemplateAsFullMessageHeaderTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
SetTemplateWithMultipleValidatorsShouldUseTemplateAsMainMessageTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
SetTemplateWithSingleValidatorShouldUseTemplateAsMainMessageTest.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
TranslatorTest.php Replace template rendering code with Respect\StringFormatter 2026-01-21 17:29:15 +01:00
ValidationExceptionStackTraceTest.php Replace template rendering code with Respect\StringFormatter 2026-01-21 17:29:15 +01:00