-
- Téléchargements
Merge pull request #7644 from piwik/config_step_2
Moby DIoC: Step 1 - Piwik environment encapsulation. List of all changes: * introduction of Environment class that creates and encapsulates Piwik DI container * introduction of concept of 'kernel global'. a kernel global is an object that cannot be overridden via the DI container, since it is used to create it. * introduces three kernel objects: PluginList (describes which plugins are activated), GlobalSettingsProvider (provides global settings), and EnvironmentValidator (validates the environment) * all environment validation logic was moved to EnvironmentValidator (tests added as well) * removed ability to change Config files used by existing Config instance * Moved Config::encodeValues/::decodeValues to IniFileChain * Lots of hacks to test code * removal of some useless CronArchive.php setup code * small change to core\IP.php (fix to error silencing) * added Plugin\Manager to DI container * Removed cli-script-bootstrap.php (no longer used)
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- config/global.php 8 ajouts, 1 suppressionconfig/global.php
- core/Application/Environment.php 162 ajouts, 0 suppressioncore/Application/Environment.php
- core/Application/Kernel/EnvironmentValidator.php 81 ajouts, 0 suppressioncore/Application/Kernel/EnvironmentValidator.php
- core/Application/Kernel/GlobalSettingsProvider.php 139 ajouts, 0 suppressioncore/Application/Kernel/GlobalSettingsProvider.php
- core/Application/Kernel/PluginList.php 57 ajouts, 0 suppressioncore/Application/Kernel/PluginList.php
- core/Archive.php 8 ajouts, 0 suppressioncore/Archive.php
- core/CliMulti/RequestCommand.php 11 ajouts, 7 suppressionscore/CliMulti/RequestCommand.php
- core/Config.php 57 ajouts, 84 suppressionscore/Config.php
- core/Config/IniFileChain.php 8 ajouts, 4 suppressionscore/Config/IniFileChain.php
- core/Console.php 12 ajouts, 7 suppressionscore/Console.php
- core/Container/ContainerFactory.php 33 ajouts, 6 suppressionscore/Container/ContainerFactory.php
- core/Container/IniConfigDefinitionSource.php 6 ajouts, 6 suppressionscore/Container/IniConfigDefinitionSource.php
- core/Container/StaticContainer.php 6 ajouts, 27 suppressionscore/Container/StaticContainer.php
- core/CronArchive.php 1 ajout, 24 suppressionscore/CronArchive.php
- core/ErrorHandler.php 6 ajouts, 1 suppressioncore/ErrorHandler.php
- core/EventDispatcher.php 3 ajouts, 2 suppressionscore/EventDispatcher.php
- core/ExceptionHandler.php 5 ajouts, 1 suppressioncore/ExceptionHandler.php
- core/FrontController.php 0 ajout, 34 suppressionscore/FrontController.php
- core/IP.php 2 ajouts, 1 suppressioncore/IP.php
- core/Plugin/Manager.php 40 ajouts, 29 suppressionscore/Plugin/Manager.php
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter