respect-validation/tests/feature
Alexandre Gomes Gaigalas 317ffef4b7 Fix isVisible() initial value bug in NestedListStringFormatter
The array_reduce in isVisible() used `true` as its initial value with
an `||` reducer, meaning it always returned `true` when siblings existed
regardless of their actual visibility. This caused unnecessary nesting
in full messages by showing single-child wrapper nodes that should have
been collapsed.

Replace array_reduce with a foreach loop starting from `false`, which
also enables early return on the first visible sibling.
2026-03-10 15:13:28 +00:00
..
Issues Fix isVisible() initial value bug in NestedListStringFormatter 2026-03-10 15:13:28 +00:00
Readme Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Transformers Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
ValidatorBuilder Create ShortCircuit validator and ShortCircuitable interface 2026-02-05 17:32:42 +01:00
Validators Introduce Trimmed validator 2026-02-26 10:34:53 +00:00
AssertWithKeysTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
AssertWithPropertiesTest.php Fix isVisible() initial value bug in NestedListStringFormatter 2026-03-10 15:13:28 +00:00
AssertWithTemplatesTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
DoNotRelyOnNestedValidationExceptionInterfaceForCheckTest.php Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
FormatterModifierTest.php Add FormatterModifier to message rendering and expand test coverage 2026-02-10 06:07:49 +01:00
GetFullMessageShouldIncludeAllValidationMessagesInAChainTest.php Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
GetMessagesShouldIncludeAllValidationMessagesInAChainTest.php Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
GetMessagesTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
GetMessagesWithReplacementsTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
HandlingNamesTest.php Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
KeysAsValidatorNamesTest.php Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
NotShouldWorkWithBuilderTestTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
NotWithoutRecursionTest.php Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
NotWithRecursionTest.php Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
ResultQueryTest.php Add wildcard support to ResultQuery::findByPath() 2026-02-08 22:43:06 +01:00
SerializableTest.php Remove mathematical, niche and deprecated validators 2026-01-30 16:08:27 +00:00
SetTemplateWithMultipleValidatorsShouldUseTemplateAsFullMessageHeaderTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
SetTemplateWithMultipleValidatorsShouldUseTemplateAsMainMessageTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
SetTemplateWithSingleValidatorShouldUseTemplateAsMainMessageTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
TranslatorTest.php Update translation docs 2026-02-06 17:11:34 +00:00
ValidationExceptionStackTraceTest.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00