[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>
Showing
- typo3/sysext/backend/Classes/Controller/File/FileController.php 111 additions, 85 deletions...sysext/backend/Classes/Controller/File/FileController.php
- typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php 4 additions, 0 deletions...backend/Tests/Unit/Controller/File/FileControllerTest.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-84324-UseServerRequestInterfaceInFileFileController.rst 41 additions, 0 deletions...n-84324-UseServerRequestInterfaceInFileFileController.rst
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php 14 additions, 0 deletions.../Configuration/ExtensionScanner/Php/MethodCallMatcher.php
Please register or sign in to comment