[TASK] Make Core\Configuration\ConfigurationManager non static
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 3 Oct 2012 18:47:56 +0000 (20:47 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 18 Oct 2012 15:17:58 +0000 (17:17 +0200)
commitb53b9f1edfff709305135a4965cf44df61d974c7
tree10c6a03acb729999cb6e2f34783746803fc6973f
parent1ba5cd5320f31f7ee365eaa8922faa190c1827e2
[TASK] Make Core\Configuration\ConfigurationManager non static

To have the possibility to remove dependencies from code that
calls the configuration manager, it has to be made non static.

Together with this change, all further configuration file logic
is moved to that class, to not expose internals in other
places. For that some methods needed to be made public, but
have been marked private, thus are not public API.

Further cleanup and simplification, especially not calling
makeInstance several times, will go in a separate change.

Resolves: #41052
Releases: 6.0

Change-Id: I8ddfa4a957d0b4955ed422a1deeebaf84340c2c1
Reviewed-on: http://review.typo3.org/15267
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
21 files changed:
typo3/cli_dispatch.phpsh
typo3/init.php
typo3/install/index.php
typo3/sysext/cms/tslib/index_ts.php
typo3/sysext/core/Classes/Configuration/ConfigurationManager.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
typo3/sysext/core/Classes/Extension/ExtensionManager.php
typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php
typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php
typo3/sysext/extensionmanager/Classes/Domain/Repository/ConfigurationItemRepository.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ConfigurationItemRepositoryTest.php
typo3/sysext/install/Classes/CoreUpdates/CharsetDefaultsUpdate.php
typo3/sysext/install/Classes/CoreUpdates/CompatVersionUpdate.php
typo3/sysext/install/Classes/CoreUpdates/InstallSysExtsUpdate.php
typo3/sysext/install/Classes/CoreUpdates/LocalConfigurationUpdate.php
typo3/sysext/install/Classes/Installer.php
typo3/sysext/install/Classes/Updates/AbstractUpdate.php
typo3/sysext/lang/Classes/Domain/Repository/LanguageRepository.php
typo3/sysext/saltedpasswords/Classes/Autoloader.php