Commit 2dee6aed authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Move extension scanner entry of arrayDiffAssocRecursive

With #94137, the ArrayUtility::arrayDiffAssocRecursive
method was adjusted to actually behave like `array_diff_assoc`.

To not introduce a breaking change after 11.0, a third
parameter was added to enable the correct behaviour.
This parameter however will be removed again in v12.

Therefore, the extension scanner entry hast to be
placed in MethodArgumentDroppedStaticMatcher
instead of MethodCallStaticMatcher, because only
the last parameter is deprecated, not the whole
method.

Resolves: #96193
Related: #94137
Releases: main, 11.5
Change-Id: Ic6844b509046037f411b302eff2ee983bf093917
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72453


Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
parent 8d19f685
......@@ -76,4 +76,10 @@ return [
'Breaking-91473-DeprecatedFunctionalityRemoved.rst',
],
],
'TYPO3\CMS\Core\Utility\ArrayUtility::arrayDiffAssocRecursive' => [
'maximumNumberOfArguments' => 2,
'restFiles' => [
'Deprecation-94137-SwitchBehaviorOfArrayUtilityarrayDiffAssocRecursive.rst',
],
],
];
......@@ -129,13 +129,6 @@ return [
'Deprecation-79580-MethodsInDataHandlerRelatedToPageDeleteAccess.rst',
],
],
'TYPO3\CMS\Core\Utility\ArrayUtility::arrayDiffAssocRecursive' => [
'numberOfMandatoryArguments' => 2,
'maximumNumberOfArguments' => 3,
'restFiles' => [
'Deprecation-94137-SwitchBehaviorOfArrayUtilityarrayDiffAssocRecursive.rst',
],
],
'TYPO3\CMS\Core\Utility\ArrayUtility::inArray' => [
'numberOfMandatoryArguments' => 2,
'maximumNumberOfArguments' => 2,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment