Skip to content

Psr interfaces

Psr interfaces #695

Triggered via pull request December 16, 2024 00:54
Status Failure
Total duration 1m 40s
Artifacts

test.yml

on: pull_request
Matrix: Integration Test (Elasticsearch)
Matrix: Integration Test (OpenSearch w/Strong Password)
Matrix: Integration Test (OpenSearch)
Matrix: Unit Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 28 warnings
PHPStan: src/OpenSearch/Endpoints/AsyncSearch/Submit.php#L90
Return type OpenSearch\Endpoints\AsyncSearch\Submit of method OpenSearch\Endpoints\AsyncSearch\Submit::setBody() is not covariant with return type static(OpenSearch\Endpoints\AbstractEndpoint) of method OpenSearch\Endpoints\AbstractEndpoint::setBody().
PHPStan: src/OpenSearch/Endpoints/AsyncSearch/Submit.php#L92
Strict comparison using !== between true and true will always evaluate to false.
PHPStan: src/OpenSearch/Endpoints/AsyncSearch/Submit.php#L92
Variable $body in isset() always exists and is not nullable.
PHPStan: src/OpenSearch/Endpoints/AsynchronousSearch/Search.php#L52
Strict comparison using !== between true and true will always evaluate to false.
PHPStan: src/OpenSearch/Endpoints/AsynchronousSearch/Search.php#L52
Variable $body in isset() always exists and is not nullable.
PHPStan: src/OpenSearch/Endpoints/Bulk.php#L75
Strict comparison using !== between true and true will always evaluate to false.
PHPStan: src/OpenSearch/Endpoints/Bulk.php#L75
Variable $body in isset() always exists and is not nullable.
PHPStan: src/OpenSearch/Endpoints/Bulk.php#L78
Instanceof between *NEVER* and Traversable will always evaluate to false.
PHPStan: src/OpenSearch/Endpoints/Bulk.php#L78
Result of || is always true.
PHPStan: src/OpenSearch/Endpoints/BulkStream.php#L71
Strict comparison using !== between true and true will always evaluate to false.
Code Style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (8.1, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Test (8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636