[TASK] Use singleton objects for bootstrapping
Use singleton objects for bootstrapping instead of calling static functions. This way the whole process can be extended and covered by unit tests much better. Change-Id: I1d260cfff7a2fc783a709f43fc80de217d941016 Resolves: #38121 Releases: 6.0 Reviewed-on: http://review.typo3.org/12133 Tested-by: Philipp Gampe Reviewed-by: Philipp Gampe Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
Showing
- index.php 6 additions, 5 deletionsindex.php
- t3lib/config_default.php 32 additions, 29 deletionst3lib/config_default.php
- tests/Unit/typo3/classes/BootstrapTest.php 52 additions, 0 deletionstests/Unit/typo3/classes/BootstrapTest.php
- typo3/backend.php 1 addition, 1 deletiontypo3/backend.php
- typo3/classes/Bootstrap/Abstract.php 54 additions, 0 deletionstypo3/classes/Bootstrap/Abstract.php
- typo3/classes/Bootstrap/Backend.php 217 additions, 109 deletionstypo3/classes/Bootstrap/Backend.php
- typo3/classes/Bootstrap/Cli.php 27 additions, 7 deletionstypo3/classes/Bootstrap/Cli.php
- typo3/classes/Bootstrap/Install.php 23 additions, 5 deletionstypo3/classes/Bootstrap/Install.php
- typo3/cli_dispatch.phpsh 16 additions, 16 deletionstypo3/cli_dispatch.phpsh
- typo3/init.php 17 additions, 14 deletionstypo3/init.php
- typo3/install/index.php 12 additions, 13 deletionstypo3/install/index.php
- typo3/mod.php 1 addition, 1 deletiontypo3/mod.php
- typo3/sysext/cms/tslib/class.tslib_fe.php 1 addition, 1 deletiontypo3/sysext/cms/tslib/class.tslib_fe.php
- typo3/sysext/cms/tslib/index_ts.php 4 additions, 4 deletionstypo3/sysext/cms/tslib/index_ts.php
- typo3/sysext/install/mod/class.tx_install.php 1 addition, 1 deletiontypo3/sysext/install/mod/class.tx_install.php
- typo3/sysext/install/updates/class.tx_coreupdates_migrateworkspaces.php 1 addition, 1 deletion...nstall/updates/class.tx_coreupdates_migrateworkspaces.php
Please register or sign in to comment