code_samples_usage.php: Handle --8<-- syntax (#2578) #8195
build.yaml
on: push
vale-check
0s
Check code samples inclusion
0s
Matrix: build
Matrix: Validate code samples
Annotations
5 errors and 1 warning
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.
|
build (3.8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|