Deprecation: #84109 - Deprecate DependencyResolver

See Issue #84109

Description

The class \TYPO3\CMS\Core\Package\DependencyResolver has been marked as deprecated as the code as been merged into \TYPO3\CMS\Core\Package\PackageManager. Additionally the \TYPO3\CMS\Core\Package\PackageManager method injectDependencyResolver has been marked as deprecated and the \TYPO3\CMS\Core\Package\PackageManager triggers a deprecation warning when \TYPO3\CMS\Core\Service\DependencyOrderingService is not injected through the constructor.

Impact

Installations that use \TYPO3\CMS\Core\Package\DependencyResolver or create an own \TYPO3\CMS\Core\Package\PackageManager instance will trigger a deprecation warning.

Affected Installations

All installations that use custom extensions that use the \TYPO3\CMS\Core\Package\DependencyResolver class or create an own \TYPO3\CMS\Core\Package\PackageManager instance.

Migration

Use \TYPO3\CMS\Core\Service\DependencyOrderingService to manually sort packages. Pass \TYPO3\CMS\Core\Service\DependencyOrderingService to the \TYPO3\CMS\Core\Package\PackageManager constructor if a new instance is created.