Deprecation: #77732 - Deprecate methods of Extbase's ArrayUtility

See forge#77732

Description

The class \TYPO3\CMS\Extbase\Utility\ArrayUtility has been marked as deprecated.

Impact

Calling any of the methods within the static class will trigger a deprecation log entry.

Affected Installations

Any TYPO3 installation calling the methods of that PHP class.

Migration

A migration is available for the following methods:

  • integerExplode: Use GeneralUtility::intExplode

  • trimExplode: Use GeneralUtility::trimExplode

  • arrayMergeRecursiveOverrule: Use \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule or array_replace_recursive

  • getValueByPath: Use \TYPO3\CMS\Core\Utility\ArrayUtility::getValueByPath

  • setValueByPath: Use \TYPO3\CMS\Core\Utility\ArrayUtility::setValueByPath

  • unsetValueByPath: Use \TYPO3\CMS\Core\Utility\ArrayUtility::removeByPath

  • sortArrayWithIntegerKeys: Use \TYPO3\CMS\Core\Utility\ArrayUtility::sortArrayWithIntegerKeys