Skip to content

Implement TagId and TagKeyword visitors for elasticsearch #99

Implement TagId and TagKeyword visitors for elasticsearch

Implement TagId and TagKeyword visitors for elasticsearch #99

Triggered via pull request July 26, 2023 08:55
Status Failure
Total duration 45s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static_analysis.yml

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

Annotations

10 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/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags.php#L14
Class Netgen\TagsBundle\Core\Search\Elasticsearch\Query\Common\CriterionVisitor\Tags implements unknown interface Ibexa\Contracts\Elasticsearch\Query\CriterionVisitor.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagKeyword.php#L44
Parameter #2 $value of class Netgen\TagsBundle\Core\Search\Elasticsearch\QueryDSL\PrefixQuery constructor expects string|null, bool|int|string given.
phpstan: bundle/Core/Search/Elasticsearch/QueryDSL/PrefixQuery.php#L9
Class Netgen\TagsBundle\Core\Search\Elasticsearch\QueryDSL\PrefixQuery implements unknown interface Ibexa\Elasticsearch\ElasticSearch\QueryDSL\Query.
phpstan
Error message "Class Netgen\TagsBundle\Core\Search\Elasticsearch\Query\Common\CriterionVisitor\Tags implements unknown interface Ibexa\Contracts\Elasticsearch\Query\CriterionVisitor." cannot be ignored, use excludePaths instead.
phpstan
Error message "Class Netgen\TagsBundle\Core\Search\Elasticsearch\QueryDSL\PrefixQuery implements unknown interface Ibexa\Elasticsearch\ElasticSearch\QueryDSL\Query." cannot be ignored, use excludePaths instead.
phpstan
Process completed with exit code 1.
phpstan-tests
Ignored error pattern #Property Netgen\\TagsBundle\\API\\Repository\\Values\\Tags\\Tag::\$id is not writable.# was not matched in reported errors.
phpstan-tests
Ignored error pattern #Property Netgen\\TagsBundle\\API\\Repository\\Values\\Tags\\Tag::\$id \(int\) does not accept null.# was not matched in reported errors.
phpstan-tests
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/