Skip to content

NGSTACK-804 fix view cacheable method signature #103

NGSTACK-804 fix view cacheable method signature

NGSTACK-804 fix view cacheable method signature #103

Triggered via pull request November 6, 2023 09:27
Status Failure
Total duration 44s
Artifacts

static_analysis.yml

on: pull_request
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
phpstan: bundle/Core/Persistence/Cache/TagsHandler.php#L38
Parameter #1 $cache of method Ibexa\Core\Persistence\Cache\AbstractInMemoryHandler::__construct() expects Ibexa\Core\Persistence\Cache\Adapter\TransactionAwareAdapterInterface, Symfony\Component\Cache\Adapter\TagAwareAdapterInterface given.
phpstan: bundle/View/CacheableView.php#L12
Method Netgen\TagsBundle\View\CacheableView::setCacheEnabled() has parameter $cacheEnabled with no type specified.
phpstan: bundle/View/TagView.php#L26
Method Netgen\TagsBundle\View\TagView::setCacheEnabled() has parameter $cacheEnabled with no type specified.
phpstan
Process completed with exit code 1.
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpstan-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/