Deprecation: #94252 - GeneralUtility::compileSelectedGetVarsFromArray

See forge#94252

Description

In our effort to reduce usages of GeneralUtility::_GP(), the GeneralUtility method compileSelectedGetVarsFromArray is deprecated, since it internally calls GeneralUtility::_GP() instead of accessing the PSR-7 Request. The method was furthermore only used once in the Core since it's internal logic can easily be implemented on a case by case basis.

Impact

Using the method will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

All TYPO3 installations calling this method in custom code are affected. The extension scanner will find such usages as strong match.

Migration

Usages of the method in custom extension code have to be replaced with a custom implementations, preferably using the PSR-7 Request.

See: \TYPO3\CMS\Backend\Controller\EditDocumentController->compileStoreData() for an example on how such migration could look like.