[BUGFIX] Mitigate deprecations in early bootstrap 03/58003/5
authorHelmut Hummel <typo3@helhum.io>
Mon, 13 Aug 2018 15:33:39 +0000 (17:33 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 23 Aug 2018 17:02:41 +0000 (19:02 +0200)
commit9f8c3ba31a350e30dafc34a32990dc456277fbbc
tree59528f20f1750ba9b25e02d9320e904aceed735d
parent40f2212737e90925d47f15124d5956e2faebb036
[BUGFIX] Mitigate deprecations in early bootstrap

Deprecations that trigger an error in early bootstrap
lead to the situation that code that is using this
(mostly declared) internal API will likely fail due
to these errors, as they are not caught by the
regular error handling, which is initialized later on.

Userland code using this API will notice the depreaction
even without those errors triggered.

Therefore remove those deprecations errors in most
places again so that tools like TYPO3 Console will be able
to stay compatible with older TYPO3 versions as well.

Also protect some methods straight away and add a deprecation
layer for them.

Resolves: #85944
Releases: master
Change-Id: I97485dfd947028cf02ff62b17b453d2f174a531a
Reviewed-on: https://review.typo3.org/58003
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallStaticMatcher.php