[TASK] Deprecate PageGenerator class 41/57941/9
authorBenni Mack <benni@typo3.org>
Fri, 17 Aug 2018 05:49:58 +0000 (07:49 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 17 Aug 2018 10:37:37 +0000 (12:37 +0200)
commit7bd650b7ee1b42c442819529271f05c0691c03af
tree2a8fa81586fdd90f94081115ac23ed988bdb3d7b
parente79fd44a50d66ae2831d801f47216137b8a61b62
[TASK] Deprecate PageGenerator class

The static class PageGenerator is a list of
static methods previouly found in "pagegen.php", which
has now been moved within the RequestHandler which
is now fully responsible for turning a request object
with support from TSFE and PageRenderer into a response object.

This removes one further dependency built around a
legacy class and enjoys the concept that RequestHandler+TSFE
now share the responsibility for building $TSFE->content.

This also means that all tests can now be built without
having to use any global variables or some special Singleton
functionality but with a clean structure in mind.

Resolves: #85884
Related: #85822
Releases: master
Change-Id: I298795ea485f3c9850af23c0c5e69a3a6d43df99
Reviewed-on: https://review.typo3.org/57941
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85822-DeprecatePageGeneratorrenderContent.rst [deleted file]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85822-PageGenerator.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Http/RequestHandler.php
typo3/sysext/frontend/Classes/Page/PageGenerator.php
typo3/sysext/frontend/Tests/Unit/Http/RequestHandlerTest.php [new file with mode: 0644]
typo3/sysext/frontend/Tests/Unit/Page/PageGeneratorTest.php [deleted file]
typo3/sysext/frontend/Tests/UnitDeprecated/Page/PageGeneratorTest.php [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallStaticMatcher.php