Solve deprecations in t3org-certifications
In order to update typo3.org to v9 as smoothly as possible, all extensions it requires should support v9 properly.
TYPO3Scanner result for certifications
:
Found 4 matches in 0.19s when checking for changes and deprecations in TYPO3 9
strong weak BREAKING
75.0% (3) 25.0% (1) 100.0% (4)
Classes/ViewHelpers/GrayImageViewHelper.php
Call to method "getContentObject()" (weak)
89 $this->contentObject = $this->configurationManager->getContentObject();
Breaking: #80700 - Deprecated functionality removed
https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.0/Breaking-80700-DeprecatedFunctionalityRemoved.html
Deprecation: #68748 - Deprecate AbstractContentObject::getContentObject()
https://docs.typo3.org/typo3cms/extensions/core/Changelog/8.0/Deprecation-68748-DeprecateAbstractContentObjectgetContentObject.html
Use of static class method call "TYPO3\CMS\Core\Utility\GeneralUtility::imageMagickCommand()" (strong)
152 $cmd = GeneralUtility::imageMagickCommand('convert', '"' . $imageInfo[3] . '" -colorspace Gray "' . $newFile . '"', $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path_lzw']);
Breaking: #80700 - Deprecated functionality removed
https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.0/Breaking-80700-DeprecatedFunctionalityRemoved.html
Deprecation: #73516 - Various GeneralUtility methods
https://docs.typo3.org/typo3cms/extensions/core/Changelog/8.0/Deprecation-73516-VariousGeneralUtilityMethods.html
Use of static class method call "TYPO3\CMS\Core\Utility\GeneralUtility::rawUrlEncodeFP()" (strong)
161 $imageSource = $GLOBALS['TSFE']->absRefPrefix . GeneralUtility::rawUrlEncodeFP($imageInfo[3]);
Breaking: #80700 - Deprecated functionality removed
https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.0/Breaking-80700-DeprecatedFunctionalityRemoved.html
Deprecation: #75621 - GeneralUtility methods
https://docs.typo3.org/typo3cms/extensions/core/Changelog/8.1/Deprecation-75621-GeneralUtilityMethods.html
Classes/Domain/Repository/UserRepository.php
Access to global array "TYPO3_DB" (strong)
47 $char = $GLOBALS['TYPO3_DB']->escapeStrForLike($char, 'fe_users');
Breaking: #80929 - TYPO3_DB moved to extension
https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.0/Breaking-80929-TYPO3_DBMovedToExtension.html
These deprecations should either be solved in the update branch update-v9
directly, or have a Merge Request pointed to that branch in the t3org-certifications
repository.