[TASK] Mark internal $TSFE properties as protected 09/58309/3
authorBenni Mack <benni@typo3.org>
Tue, 18 Sep 2018 04:42:45 +0000 (06:42 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 20 Sep 2018 03:23:43 +0000 (05:23 +0200)
commit3eb3e198dd6e6f1f8fff4bcb10f56155fe412a73
treecd6f0294932dd6a2dd02168f24ebd2e9beacf837
parent6534c11a29a0b22ee204d9b420fddffb03964433
[TASK] Mark internal $TSFE properties as protected

Due to some PHP4 legacy code, most properties in TSFE
were Public API. As some arguments are only used internally
within TSFE and _should_ only used internally, their
visibility has been modified to be protected, and the properties
themselves have also an additional @internal annotation.

For v9, accessing the properties from the outside will still
work but trigger a deprecation message.

Resolves: #86320
Releases: master
Change-Id: Idb15078c41b2128631e75f594e3aa1f0ca85f7ec
Reviewed-on: https://review.typo3.org/58309
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-86320-MarkInternalTSFEPropertiesAsProtected.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyProtectedMatcher.php