Skip to content

Enhance PHP API REF metadata #8192

Enhance PHP API REF metadata

Enhance PHP API REF metadata #8192

Triggered via pull request December 11, 2024 11:38
Status Failure
Total duration 2m 1s
Artifacts

build.yaml

on: pull_request
vale-check
51s
vale-check
Check code samples inclusion
3s
Check code samples inclusion
Matrix: build
Matrix: Validate code samples
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
vale-check
Vale and reviewdog exited with status code: 1
Validate code samples (8.3): code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php#L13
Parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Elasticsearch\CameraManufacturerVisitor::supports() is not contravariant with parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Elasticsearch\Query\CriterionVisitor::supports().
Validate code samples (8.3): code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php#L18
Parameter #2 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Elasticsearch\CameraManufacturerVisitor::visit() is not contravariant with parameter #2 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Elasticsearch\Query\CriterionVisitor::visit().
Validate code samples (8.3): code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php#L12
Parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Solr\CameraManufacturerVisitor::canVisit() is not contravariant with parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Solr\Query\CriterionVisitor::canVisit().
Validate code samples (8.3): code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php#L17
Parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Solr\CameraManufacturerVisitor::visit() is not contravariant with parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Solr\Query\CriterionVisitor::visit().
Validate code samples (8.3)
Process completed with exit code 1.
Check code samples inclusion
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
vale-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (3.8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636