Skip to content

Implement TagId and TagKeyword visitors for elasticsearch #96

Implement TagId and TagKeyword visitors for elasticsearch

Implement TagId and TagKeyword visitors for elasticsearch #96

Triggered via pull request July 25, 2023 14:24
Status Failure
Total duration 52s
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

13 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/TagId.php#L20
Parameter $languageFilter of method Netgen\TagsBundle\Core\Search\Elasticsearch\Query\Common\CriterionVisitor\Tags\TagId::supports() has invalid type Ibexa\Contracts\Elasticsearch\Query\LanguageFilter.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagId.php#L25
Parameter $dispatcher of method Netgen\TagsBundle\Core\Search\Elasticsearch\Query\Common\CriterionVisitor\Tags\TagId::visit() has invalid type Ibexa\Contracts\Elasticsearch\Query\CriterionVisitor.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagId.php#L25
Parameter $languageFilter of method Netgen\TagsBundle\Core\Search\Elasticsearch\Query\Common\CriterionVisitor\Tags\TagId::visit() has invalid type Ibexa\Contracts\Elasticsearch\Query\LanguageFilter.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagId.php#L37
Instantiated class Ibexa\Elasticsearch\ElasticSearch\QueryDSL\BoolQuery not found.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagId.php#L40
Call to method addShould() on an unknown class Ibexa\Elasticsearch\ElasticSearch\QueryDSL\BoolQuery.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagId.php#L40
Instantiated class Ibexa\Elasticsearch\ElasticSearch\QueryDSL\TermQuery not found.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagId.php#L44
Call to method toArray() on an unknown class Ibexa\Elasticsearch\ElasticSearch\QueryDSL\BoolQuery.
phpstan: bundle/Core/Search/Elasticsearch/Query/Common/CriterionVisitor/Tags/TagKeyword.php#L22
Parameter $languageFilter of method Netgen\TagsBundle\Core\Search\Elasticsearch\Query\Common\CriterionVisitor\Tags\TagKeyword::supports() has invalid type Ibexa\Contracts\Elasticsearch\Query\LanguageFilter.
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/