Skip to content

Introduce a draft for a generic reusable HTTP client builder #253

Introduce a draft for a generic reusable HTTP client builder

Introduce a draft for a generic reusable HTTP client builder #253

Triggered via pull request December 2, 2025 07:40
Status Failure
Total duration 34s
Artifacts

grumphp.yaml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
PHP 8.3 @ ubuntu-latest with --prefer-lowest
Process completed with exit code 1.
MismatchingDocblockParamType: src/Client/ClientBuilder.php#L157
src/Client/ClientBuilder.php:157:15: MismatchingDocblockParamType: Parameter $callback has wrong type 'callable(Psr\Http\Message\RequestInterface, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise):Http\Promise\Promise', should be 'Closure' (see https://psalm.dev/141)
PHP 8.5 @ ubuntu-latest with --prefer-lowest
Process completed with exit code 1.
PHP 8.4 @ ubuntu-latest with --prefer-lowest
Process completed with exit code 1.
MismatchingDocblockParamType: src/Client/ClientBuilder.php#L157
src/Client/ClientBuilder.php:157:15: MismatchingDocblockParamType: Parameter $callback has wrong type 'callable(Psr\Http\Message\RequestInterface, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise):Http\Promise\Promise', should be 'Closure' (see https://psalm.dev/141)
PHP 8.4 @ ubuntu-latest with
Process completed with exit code 1.
MismatchingDocblockParamType: src/Client/ClientBuilder.php#L157
src/Client/ClientBuilder.php:157:15: MismatchingDocblockParamType: Parameter $callback has wrong type 'callable(Psr\Http\Message\RequestInterface, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise):Http\Promise\Promise', should be 'Closure' (see https://psalm.dev/141)
PHP 8.5 @ ubuntu-latest with
Process completed with exit code 1.
PHP 8.3 @ ubuntu-latest with
Process completed with exit code 1.
MismatchingDocblockParamType: src/Client/ClientBuilder.php#L157
src/Client/ClientBuilder.php:157:15: MismatchingDocblockParamType: Parameter $callback has wrong type 'callable(Psr\Http\Message\RequestInterface, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise, callable(Psr\Http\Message\RequestInterface):Http\Promise\Promise):Http\Promise\Promise', should be 'Closure' (see https://psalm.dev/141)
PHP 8.3 @ ubuntu-latest with --prefer-lowest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.5 @ ubuntu-latest with --prefer-lowest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.4 @ ubuntu-latest with --prefer-lowest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.4 @ ubuntu-latest with
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.5 @ ubuntu-latest with
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.3 @ ubuntu-latest with
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/