Skip to content

Fix Uncache viewhelper outside of extbase #399

Fix Uncache viewhelper outside of extbase

Fix Uncache viewhelper outside of extbase #399

Triggered via pull request February 20, 2024 12:53
Status Failure
Total duration 1m 51s
Artifacts

build.yml

on: pull_request
Matrix: phpcs
Matrix: phpstan
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 7 warnings
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/View/UncacheTemplateView.php#L88
Call to an undefined method TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::setControllerContext().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/Extension/AbstractExtensionViewHelper.php#L48
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/LViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L40
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L41
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L42
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getPluginName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L43
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/OrViewHelper.php#L74
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L87
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.3 TYPO3 ^12.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L88
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/View/UncacheTemplateView.php#L88
Call to an undefined method TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::setControllerContext().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/Extension/AbstractExtensionViewHelper.php#L48
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/LViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L40
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L41
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L42
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getPluginName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L43
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/OrViewHelper.php#L74
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L87
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.2 TYPO3 ^12.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L88
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/View/UncacheTemplateView.php#L88
Call to an undefined method TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::setControllerContext().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/Extension/AbstractExtensionViewHelper.php#L48
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/LViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L40
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L41
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L42
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getPluginName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L43
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/OrViewHelper.php#L74
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L87
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.1 TYPO3 ^12.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L88
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Extension/AbstractExtensionViewHelper.php#L48
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/LViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L40
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L41
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L42
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getPluginName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L43
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/OrViewHelper.php#L74
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Render/UncacheViewHelper.php#L87
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Render/UncacheViewHelper.php#L88
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Render/UncacheViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Extension/AbstractExtensionViewHelper.php#L48
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/LViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L40
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L41
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L42
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getPluginName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Once/InstanceViewHelper.php#L43
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/OrViewHelper.php#L74
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Render/UncacheViewHelper.php#L87
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Render/UncacheViewHelper.php#L88
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Render/UncacheViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Extension/AbstractExtensionViewHelper.php#L48
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/LViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L40
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L41
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L42
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getPluginName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Once/InstanceViewHelper.php#L43
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/OrViewHelper.php#L74
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L87
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L88
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName().
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Render/UncacheViewHelper.php#L89
Call to an undefined method TYPO3\CMS\Core\Http\ServerRequest|TYPO3\CMS\Extbase\Mvc\Request::getControllerName().
CodeSniffer, PHP 8.1 TYPO3 ^11.5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan, PHP 8.3 TYPO3 ^12.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan, PHP 8.2 TYPO3 ^12.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan, PHP 8.1 TYPO3 ^12.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan, PHP 8.0 TYPO3 ^11.5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan, PHP 8.1 TYPO3 ^11.5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan, PHP 7.4 TYPO3 ^10.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.