typo3-rector icon indicating copy to clipboard operation
typo3-rector copied to clipboard

Deprecation: #97576 - TYPO3\CMS\Core\Utility\ResourceUtility

Open sabbelasichon opened this issue 1 year ago • 1 comments

Deprecation: #97576 - TYPO3\CMS\Core\Utility\ResourceUtility

https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/12.0/Deprecation-97576-TYPO3CMSCoreUtilityResourceUtility.html .. include:: /Includes.rst.txt

.. _deprecation-97576-1651949640:

============================================================ Deprecation: #97576 - TYPO3\CMS\Core\Utility\ResourceUtility

See :issue:97576

Description

The class :php:TYPO3\CMS\Core\Utility\ResourceUtility has no usage in the core and is therefore marked as deprecated.

Impact

Calling any method of the class :php:TYPO3\CMS\Core\Utility\ResourceUtility will trigger a deprecation level log entry.

Affected installations

All installations using any method of :php:TYPO3\CMS\Core\Utility\ResourceUtility in their own code.

Migration

There is no direct replacement of this class. Extensions that depend on any of the class' methods should implement them in their codebase.

.. index:: PHP-API, FullyScanned, ext:core

sabbelasichon avatar Aug 09 '22 06:08 sabbelasichon

@sabbelasichon this one wont be migrated, but we could hint the removal of the class with the rector outputstyles Do we want that?

helsner avatar Aug 09 '22 19:08 helsner

No, we do not use this kind of output anymore IMHO. So we close it. I have never heard of this before, so i guess only few people are using it.

sabbelasichon avatar Aug 21 '22 20:08 sabbelasichon