Skip to content

Feature | V3 - Allow Middleware To Be Reordered #257

Feature | V3 - Allow Middleware To Be Reordered

Feature | V3 - Allow Middleware To Be Reordered #257

Triggered via pull request August 26, 2023 11:05
Status Failure
Total duration 34s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Data/MultipartValue.php#L24
Result of && is always false.
phpstan: src/Helpers/ArrayHelpers.php#L50
Unsafe call to private method Saloon\Helpers\ArrayHelpers::accessible() through static::.
phpstan: src/Helpers/ArrayHelpers.php#L58
Unsafe call to private method Saloon\Helpers\ArrayHelpers::exists() through static::.
phpstan: src/Helpers/ArrayHelpers.php#L67
Unsafe call to private method Saloon\Helpers\ArrayHelpers::accessible() through static::.
phpstan: src/Helpers/ArrayHelpers.php#L67
Unsafe call to private method Saloon\Helpers\ArrayHelpers::exists() through static::.
phpstan: src/Helpers/Helpers.php#L84
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
phpstan: src/Helpers/Pipeline.php#L59
Method Saloon\Helpers\Pipeline::sortPipes() return type has no value type specified in iterable type array.
phpstan: src/Helpers/Pipeline.php#L64
Variable $pipeNames in PHPDoc tag @var does not match assigned variable $pipeOrders.
phpstan: src/Http/Response.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func_array expects callable\(\)\: mixed, \(callable\(\)\: mixed\)\|object given\.$# in path /home/runner/work/saloon/saloon/src/Http/Response.php was not matched in reported errors.
phpstan: src/Http/Response.php#L1
Ignored error pattern #^Parameter \#1 \$object of method ReflectionMethod\:\:invoke\(\) expects object\|null, object\|string given\.$# in path /home/runner/work/saloon/saloon/src/Http/Response.php was not matched in reported errors.