Review main Merged

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

Andreas Kienast CR +2 V +2 Normal +219 −17 updated 05/14/21, 12:51

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. If the argument is either omitted or false, the old behavior is kept
but a deprecation warning will be thrown.

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 11