[TASK] Use singleton objects for bootstrapping
authorOliver Hader <oliver@typo3.org>
Sat, 16 Jun 2012 16:18:15 +0000 (18:18 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 16 Jun 2012 18:43:49 +0000 (20:43 +0200)
commitc06ce81d766d65b0d79762e2141faba9e8b87f96
tree4512b9efae91205a98fbde4f09987e13137946a0
parentc2ad5471c5b494f2e4745e2fe9f6ad232386c0c3
[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
16 files changed:
index.php
t3lib/config_default.php
tests/Unit/typo3/classes/BootstrapTest.php [new file with mode: 0644]
typo3/backend.php
typo3/classes/Bootstrap/Abstract.php [new file with mode: 0644]
typo3/classes/Bootstrap/Backend.php
typo3/classes/Bootstrap/Cli.php
typo3/classes/Bootstrap/Install.php
typo3/cli_dispatch.phpsh
typo3/init.php
typo3/install/index.php
typo3/mod.php
typo3/sysext/cms/tslib/class.tslib_fe.php
typo3/sysext/cms/tslib/index_ts.php
typo3/sysext/install/mod/class.tx_install.php
typo3/sysext/install/updates/class.tx_coreupdates_migrateworkspaces.php