[TASK] Avoid deprecated calls to get request in ViewHelpers #1695
Annotations
5 errors
Classes/ViewHelpers/Data/PaginateViewHelper.php#L107
Call to deprecated method setRequest() of class TYPO3\CMS\Fluid\Core\Rendering\RenderingContext:
since TYPO3 v13, will be removed in TYPO3 v14.
Use RenderingContextFactory->create($pathArray, $request) instead.
|
Classes/ViewHelpers/Data/PaginateViewHelper.php#L154
Call to deprecated method getRequest() of class TYPO3\CMS\Fluid\Core\Rendering\RenderingContext:
since TYPO3 v13, will be removed in TYPO3 v14.
Use $renderingContext->hasAttribute(ServerRequestInterface::class) and
$renderingContext->getAttribute(ServerRequestInterface::class) instead.
|
Classes/ViewHelpers/Link/PaginateViewHelper.php#L99
Call to deprecated method getRequest() of class TYPO3\CMS\Fluid\Core\Rendering\RenderingContext:
since TYPO3 v13, will be removed in TYPO3 v14.
Use $renderingContext->hasAttribute(ServerRequestInterface::class) and
$renderingContext->getAttribute(ServerRequestInterface::class) instead.
|
Classes/ViewHelpers/TypoScript/ConstantViewHelper.php#L57
Call to deprecated method getRequest() of class TYPO3\CMS\Fluid\Core\Rendering\RenderingContext:
since TYPO3 v13, will be removed in TYPO3 v14.
Use $renderingContext->hasAttribute(ServerRequestInterface::class) and
$renderingContext->getAttribute(ServerRequestInterface::class) instead.
|
|
This job failed
Loading