Skip to content

Remove custom JSON exceptions #2374

Remove custom JSON exceptions

Remove custom JSON exceptions #2374

Triggered via pull request May 30, 2025 02:13
Status Failure
Total duration 1m 13s
Artifacts 18

tests.yml

on: pull_request
Matrix: tests
Yaml linting check
4s
Yaml linting check
linter-check
12s
linter-check
phpstan-tests
22s
phpstan-tests
integration-tests (PHP 7.4 & Guzzle 6)
57s
integration-tests (PHP 7.4 & Guzzle 6)
Upload coverage to Codecov
0s
Upload coverage to Codecov
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 6 warnings
linter-check
Process completed with exit code 8.
phpstan-tests: src/Http/Serialize/SerializerInterface.php#L27
PHPDoc tag @throws with type Meilisearch\Http\Serialize\JsonDecodingException is not subtype of Throwable
phpstan-tests: src/Http/Serialize/SerializerInterface.php#L18
PHPDoc tag @throws with type Meilisearch\Http\Serialize\JsonEncodingException is not subtype of Throwable
phpstan-tests: src/Http/Client.php#L170
PHPDoc tag @throws with type Meilisearch\Exceptions\ApiException|Meilisearch\Exceptions\InvalidResponseBodyException|Meilisearch\Http\JsonDecodingException is not subtype of Throwable
phpstan-tests: src/Http/Client.php#L107
PHPDoc tag @throws with type Meilisearch\Exceptions\ApiException|Meilisearch\Exceptions\CommunicationException|Meilisearch\Http\JsonEncodingException|Psr\Http\Client\ClientExceptionInterface is not subtype of Throwable
phpstan-tests: src/Http/Client.php#L86
PHPDoc tag @throws with type Meilisearch\Exceptions\ApiException|Meilisearch\Exceptions\CommunicationException|Meilisearch\Http\JsonEncodingException|Psr\Http\Client\ClientExceptionInterface is not subtype of Throwable
phpstan-tests: src/Contracts/Http.php#L46
PHPDoc tag @throws with type Meilisearch\Contracts\JsonDecodingException|Meilisearch\Exceptions\ApiException is not subtype of Throwable
phpstan-tests: src/Contracts/Http.php#L40
PHPDoc tag @throws with type Meilisearch\Contracts\JsonDecodingException|Meilisearch\Contracts\JsonEncodingException|Meilisearch\Exceptions\ApiException is not subtype of Throwable
phpstan-tests: src/Contracts/Http.php#L33
PHPDoc tag @throws with type Meilisearch\Contracts\JsonDecodingException|Meilisearch\Contracts\JsonEncodingException|Meilisearch\Exceptions\ApiException is not subtype of Throwable
phpstan-tests: src/Contracts/Http.php#L24
PHPDoc tag @throws with type Meilisearch\Contracts\JsonDecodingException|Meilisearch\Contracts\JsonEncodingException|Meilisearch\Exceptions\ApiException is not subtype of Throwable
phpstan-tests: src/Contracts/Http.php#L15
PHPDoc tag @throws with type Meilisearch\Contracts\JsonDecodingException|Meilisearch\Exceptions\ApiException is not subtype of Throwable
integration-tests (PHP 8.0) (Guzzle-7)
Process completed with exit code 2.
integration-tests (PHP 8.2) (Kriswallsmith-Buzz)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.2) (Guzzle-7-Adapter)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.1) (Guzzle-7)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.1) (Kriswallsmith-Buzz)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.4) (PHP-HTTP-CurlClient)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 7.4) (Guzzle-7)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.3) (PHP-HTTP-CurlClient)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.1) (Guzzle-7-Adapter)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.0) (PHP-HTTP-CurlClient)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.0) (Kriswallsmith-Buzz)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.2) (Guzzle-7)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 7.4) (Kriswallsmith-Buzz)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 7.4) (PHP-HTTP-CurlClient)
The operation was canceled.
integration-tests (PHP 8.1) (PHP-HTTP-CurlClient)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 7.4) (PHP-HTTP-CurlClient)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.4) (Guzzle-7)
The operation was canceled.
integration-tests (PHP 8.4) (Guzzle-7)
The strategy configuration was canceled because "tests._8_0_Guzzle-7" failed
integration-tests (PHP 8.0) (Guzzle-7-Adapter)
No files were found with the provided path: coverage*.xml. No artifacts will be uploaded.
integration-tests (PHP 7.4) (Guzzle-7-Adapter)
No files were found with the provided path: coverage*.xml. No artifacts will be uploaded.
integration-tests (PHP 7.4) (Guzzle-7)
No files were found with the provided path: coverage*.xml. No artifacts will be uploaded.
integration-tests (PHP 8.0) (PHP-HTTP-CurlClient)
No files were found with the provided path: coverage*.xml. No artifacts will be uploaded.
integration-tests (PHP 8.0) (Kriswallsmith-Buzz)
No files were found with the provided path: coverage*.xml. No artifacts will be uploaded.
integration-tests (PHP 7.4) (Kriswallsmith-Buzz)
No files were found with the provided path: coverage*.xml. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
phpunit-8.1-Guzzle-7-Adapter-coverage
10.7 KB
sha256:cb5449f88233dbd855a6a84e0275b75d14a2146be7fefd0fcdcaa60e8f686e73
phpunit-8.1-Guzzle-7-coverage
10.7 KB
sha256:9895300a79c3ae41e177bf8d69a2c7b995d3359128ab434eb229f88576bef38e
phpunit-8.1-Kriswallsmith-Buzz-coverage
10.7 KB
sha256:13150685569991f5665f448709d733ed1fb009633ecf61f6f133a28c05f7bd70
phpunit-8.1-PHP-HTTP-CurlClient-coverage
10.7 KB
sha256:24588654b160d2761c6ffbb83cc99ed793dedccdadf1f492d902ce04c2e8e621
phpunit-8.2-Guzzle-7-Adapter-coverage
10.7 KB
sha256:a98d0d0a6aae77b4426af351531a9908df00ab12f0c9b387d648b7da2a816e9f
phpunit-8.2-Guzzle-7-coverage
10.7 KB
sha256:23104c08095db680fd3ac07fa3e82cc1fc8e76ef92e8c1252ee136d2525cc75c
phpunit-8.2-Kriswallsmith-Buzz-coverage
10.7 KB
sha256:de62e9169b081ab0664a73790daa8e4d8e138162208ac9c031a3c9060d98058d
phpunit-8.2-PHP-HTTP-CurlClient-coverage
10.7 KB
sha256:c206007b810bd8d4be6e9fdfdfec8cfeccddecf45b4e13bf3dca604c87b457a8
phpunit-8.2-Symfony-HttpClient-coverage
10.7 KB
sha256:ed3b2d5a1bfaeea9a447b36274b2e2d47d583c53477b34c746021fd0872bf101
phpunit-8.3-Guzzle-7-Adapter-coverage
10.7 KB
sha256:1beeadee4b7fe92d0a8fca578c41d0f228ea4e06b8ad06b1b104279b66bbb30f
phpunit-8.3-Guzzle-7-coverage
10.7 KB
sha256:33bc9ad6d5b736a27c659a188252df124875c085158cae467d819071fca684d7
phpunit-8.3-Kriswallsmith-Buzz-coverage
10.7 KB
sha256:89d2ec814344027725f34ca736ffd5b990deece715f99b88a7842529f301457c
phpunit-8.3-PHP-HTTP-CurlClient-coverage
10.7 KB
sha256:e38844025965c29b6bc14dc36527f45d4629bba6a442b328700617c0774ae596
phpunit-8.3-Symfony-HttpClient-coverage
10.7 KB
sha256:2a0da6d44c61660e0b4d8947430add55fe3cb448d07648d2e6bf46d193166c58
phpunit-8.4-Guzzle-7-Adapter-coverage
10.7 KB
sha256:839d2cb1014ea6d2ff8b3fc6dedcb7f9c253b34db705eb15eaca2486a360af15
phpunit-8.4-Kriswallsmith-Buzz-coverage
10.7 KB
sha256:98573cbc73ccdfadc8998122c2b3e81917de515b5df36ad7b0225dd533edc571
phpunit-8.4-PHP-HTTP-CurlClient-coverage
10.7 KB
sha256:a88591a48058aa2dd45a525eb370ab10e36902fe3ec56bf3f2c66546fd32ff13
phpunit-8.4-Symfony-HttpClient-coverage
10.7 KB
sha256:266f667b16b2571c8bd9aec727f82a82556cc020d17b64bf7098f4bbe0245820