Skip to content

Feature | Added support to Response object method to now accept a dot notation like json() #466

Feature | Added support to Response object method to now accept a dot notation like json()

Feature | Added support to Response object method to now accept a dot notation like json() #466

Re-run triggered June 9, 2024 10:22
Status Failure
Total duration 23s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: src/Helpers/ObjectHelpers.php#L19
Condition "string is null" in conditional return type is always false.
phpstan: src/Helpers/ObjectHelpers.php#L19
PHPDoc tag @param for parameter $key with type string|null is not subtype of native type string.
phpstan: src/Helpers/ObjectHelpers.php#L19
PHPDoc tag @param for parameter $object contains unresolvable type.
phpstan: src/Helpers/ObjectHelpers.php#L19
PHPDoc tag @return contains unresolvable type.
phpstan: src/Http/Connector.php#L1
Ignored error pattern #^Parameter \#2 \$ of callable callable\(\$this, TValue\)\: void expects TValue\, array\|float\|int\|string\|false\|null given.$# in path /home/runner/work/saloon/saloon/src/Http/Connector.php was not matched in reported errors.
phpstan: src/Http/PendingRequest.php#L1
Ignored error pattern #^Parameter \#2 \$ of callable callable\(\$this, TValue\)\: void expects TValue\, array\|float\|int\|string\|false\|null given.$# in path /home/runner/work/saloon/saloon/src/Http/PendingRequest.php was not matched in reported errors.
phpstan: src/Http/Request.php#L1
Ignored error pattern #^Parameter \#2 \$ of callable callable\(\$this, TValue\)\: void expects TValue\, array\|float\|int\|string\|false\|null given.$# in path /home/runner/work/saloon/saloon/src/Http/Request.php was not matched in reported errors.
phpstan: src/Http/Response.php#L239
PHPDoc tag @return contains unresolvable type.
phpstan: src/Http/Response.php#L249
Parameter #2 $key of static method Saloon\Helpers\ObjectHelpers::get() expects string, int|string given.
phpstan: src/Repositories/ArrayStore.php#L1
Ignored error pattern #^Parameter \#2 \$ of callable callable\(\$this, TValue\)\: void expects TValue\, array\|float\|int\|string\|false\|null given.$# in path /home/runner/work/saloon/saloon/src/Repositories/ArrayStore.php was not matched in reported errors.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.