[TASK] Use ServerRequestInterface in FileSystemNavigationFrameController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-84273-ProtectedMethodsAndPropertiesInFileSystemNavigationFrameController.rst
1 .. include:: ../../Includes.txt
2
3 =============================================================================================
4 Deprecation: #84273 - Protected methods and properties in FileSystemNavigationFrameController
5 =============================================================================================
6
7 See :issue:`84273`
8
9 Description
10 ===========
11
12 This file is about third party usage (consumer that call the class as well as
13 signals or hooks depending on it) of :php:`TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController`.
14
15 A series of class properties have been set to protected.
16 They will throw deprecation warnings if called public from outside:
17
18 * [not scanned] :php:`$content`
19 * :php:`$foldertree`
20 * :php:`$currentSubScript`
21 * :php:`$cMR`
22
23 All methods not used as entry points by :php:`TYPO3\CMS\Backend\Http\RouteDispatcher` will be
24 removed or set to protected in v10 and throw deprecation warnings if used from a third party:
25
26 * :php:`initPage()`
27 * [not scanned] :php:`main()`
28 * [not scanned] :php:`init()`
29
30
31 Impact
32 ======
33
34 Calling one of the above methods or accessing one of the above properties on an instance of
35 :php:`FileSystemNavigationFrameController` will throw a deprecation warning in v9 and a PHP fatal in v10.
36
37
38 Affected Installations
39 ======================
40
41 The extension scanner will find most usages, but may also find some false positives. The most
42 common property and method names like :php:`$content` are not registered and will not be found
43 if an extension uses that on an instance of :php:`FileSystemNavigationFrameController`. In general all extensions
44 that set properties or call methods except :php:`mainAction()` are affected.
45
46
47 Migration
48 =========
49
50 In general, extensions should not instantiate and re-use controllers of the core. Existing
51 usages should be rewritten to be free of calls like these.
52
53
54 .. index:: Backend, PHP-API, PartiallyScanned