Skip to content

Deprecate remaining exceptions in \OpenSearch\Common\Exceptions and replace with new ones #857

Deprecate remaining exceptions in \OpenSearch\Common\Exceptions and replace with new ones

Deprecate remaining exceptions in \OpenSearch\Common\Exceptions and replace with new ones #857

Triggered via pull request February 3, 2025 06:14
Status Failure
Total duration 1m 44s
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
PHPStan: src/OpenSearch/Endpoints/AsyncSearch/Delete.php#L36
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/AsyncSearch/Get.php#L36
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/AsynchronousSearch/Delete.php#L29
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/AsynchronousSearch/Get.php#L29
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/Cluster/DeleteComponentTemplate.php#L40
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/Cluster/ExistsComponentTemplate.php#L40
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/Cluster/GetDecommissionAwareness.php#L34
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/Cluster/GetWeightedRouting.php#L34
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/Cluster/PutComponentTemplate.php#L40
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.
PHPStan: src/OpenSearch/Endpoints/Cluster/PutDecommissionAwareness.php#L36
Instantiation of deprecated class OpenSearch\Common\Exceptions\RuntimeException: in 2.4.0 and will be removed in 3.0.0. Use \OpenSearch\Exception\RuntimeException instead.