mirror of
https://github.com/Respect/Validation.git
synced 2026-03-15 23:05:45 +01:00
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. |
||
|---|---|---|
| .. | ||
| Issue179Test.php | ||
| Issue425Test.php | ||
| Issue446Test.php | ||
| Issue619Test.php | ||
| Issue739Test.php | ||
| Issue796Test.php | ||
| Issue799Test.php | ||
| Issue805Test.php | ||
| Issue1033Test.php | ||
| Issue1244Test.php | ||
| Issue1289Test.php | ||
| Issue1333Test.php | ||
| Issue1334Test.php | ||
| Issue1376Test.php | ||
| Issue1469Test.php | ||
| Issue1477Test.php | ||
| Issue1668Test.php | ||