Deprecation: #85821 - bootstrap methods
See forge#85821
Description
The following methods of \TYPO3\
have been marked as deprecated. Some of
them will just change their visibility from public to protected in TYPO3 v10 and thus should not
be called externally any longer:
TYPO3\
CMS\ Core\ Core\ Bootstrap:: uses Composer Class Loading () TYPO3\
CMS\ Core\ Core\ Bootstrap:: get Instance () TYPO3\
CMS\ Core\ Core\ Bootstrap->configure () TYPO3\
CMS\ Core\ Core\ Bootstrap:: check If Essential Configuration Exists () TYPO3\
CMS\ Core\ Core\ Bootstrap->set Early Instance () TYPO3\
CMS\ Core\ Core\ Bootstrap->get Early Instance () TYPO3\
CMS\ Core\ Core\ Bootstrap->get Early Instances () TYPO3\
CMS\ Core\ Core\ Bootstrap:: load Configuration And Initialize () TYPO3\
CMS\ Core\ Core\ Bootstrap->initialize Package Management () TYPO3\
CMS\ Core\ Core\ Bootstrap:: populate Local Configuration () TYPO3\
CMS\ Core\ Core\ Bootstrap:: disable Core Cache () TYPO3\
CMS\ Core\ Core\ Bootstrap:: initialize Caching Framework () TYPO3\
CMS\ Core\ Core\ Bootstrap->set Request Type () TYPO3\
CMS\ Core\ Core\ Bootstrap:: set Final Caching Framework Cache Configuration ()
Impact
This deprecation is only interesting for code that interferes with early core bootstrap.
Those may trigger PHP E_
error.
Affected Installations
Instances using early bootstrap code may be affected by this. Those should strive for
using the general entry method Bootstrap::
instead.
Migration
See changes on the typo3/testing-framework which formerly used early instance
bootstrap calls for an example on how existing code can be refactored to use
the top level Bootstrap::
instead.