Review 10.4 Merged

69150[TASK] Switch behavior of ArrayUtility::arrayDiffAssocRecursive()

Andreas Kienast CR +2 V +2 Normal +163 −17 updated 05/14/21, 13:37

Commit message

Despite its name, the method `ArrayUtility::arrayDiffAssocRecursive()`
mimics the behavior of `array_diff_key()` and not of
`array_diff_assoc()`.

The method has been adjusted to act like `array_diff_assoc()`. As this is
considered being a breaking change, the behavior must be enabled
explicitly by passing a 3rd parameter `$useArrayDiffAssocBehavior` being
true. For forward compatibility reasons, this patch is backported from
master branch without any deprecation in place.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 9