[TASK] Merge the package DependencyResolver into the PackageManager 77/55977/16
authorBenjamin Franzke <bfr@qbus.de>
Thu, 1 Mar 2018 18:19:21 +0000 (19:19 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 7 Mar 2018 22:45:31 +0000 (23:45 +0100)
commit3daaf6c8c5764dc368a376ae58ec3d06b2398833
treeaee7176635a4d152fa36c50e977b1fd2694cbc2e
parent9d34db4ec745d8d2fe1f511f0837908d6fac02be
[TASK] Merge the package DependencyResolver into the PackageManager

The DependencyResolver and the PackageManager have a cyclic dependency to
each other which is currently resolved using GeneralUtility::makeInstance.
As the DependencyResolver is actually only used for the
PackageManager – and relies on it – it can be merged, saving a lot of
hassle.

The DependencyResolver class is not marked @internal and is therefore
deprecated.

Releases: master
Resolves: #84109
Change-Id: I71adccec3f13eb6de859f065937fbcde369758fe
Reviewed-on: https://review.typo3.org/55977
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
14 files changed:
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Package/DependencyResolver.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-84109-DeprecateDependencyResolver.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Package/DependencyResolverTest.php [deleted file]
typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php
typo3/sysext/core/Tests/Unit/TypoScript/TemplateServiceTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/core/Tests/UnitDeprecated/Package/DependencyResolverTest.php [new file with mode: 0644]
typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentRequiredMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php