[TASK] Deprecate TSFE constructor with no_cache parameter 34/58034/3
authorBenni Mack <benni@typo3.org>
Fri, 24 Aug 2018 22:30:16 +0000 (00:30 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Tue, 28 Aug 2018 11:53:43 +0000 (13:53 +0200)
commit92c2a7bfc55f1d55404b4169965bae70e1b8e6c9
treea4bca29990c3fa99ea9756e20da1bc3a7f1be8a7
parent78a6c428a045beffd3dab986ecbbfdeac6c045f8
[TASK] Deprecate TSFE constructor with no_cache parameter

Instantiating TypoScriptFrontendController with the fourth
parameter set (except null) will now trigger a deprecation
message, as it is recommended to use the method `set_no_cache`
instead.

Resolves: #86002
Releases: master
Change-Id: I6d8bbdd79d6b6169d358b5d17b036006d3c3205e
Reviewed-on: https://review.typo3.org/58034
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-86002-TSFEConstructorWithNo_cacheArgument.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentUnusedMatcher.php