[TASK] Use ServerRequestInterface Object in File/FileController 08/56208/5
authorAnja <aleichsenring@ab-softlab.de>
Fri, 16 Mar 2018 09:44:42 +0000 (10:44 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 16 Mar 2018 13:16:16 +0000 (14:16 +0100)
commitebdc14d28ee925e465d220b3ad46477b49772252
treefc3c30a98acd4b7eaa860b21076da6cd7ad064b7
parent91a19b03f15bcb57a4ed3839fc1ac7420a40253b
[TASK] Use ServerRequestInterface Object in File/FileController

Use ServerRequestInterface object introduced earlier throughout the
controller instead accessing the global variables directly.

Visibility of properties and methods became more restrictive and will
report external usage by throwing deprecated errors.

Change-Id: I68f220c4b7bb097006118d2b2065ab9f4e554b8f
Resolves: #84324
Releases: master
Reviewed-on: https://review.typo3.org/56208
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Tested-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/File/FileController.php
typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-84324-UseServerRequestInterfaceInFileFileController.rst [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php