Skip to content

Fix some code quality issues. #28

Fix some code quality issues.

Fix some code quality issues. #28

Triggered via push August 12, 2024 14:12
Status Failure
Total duration 44s
Artifacts

ci.yaml

on: push
Matrix: phplint / phplint
Matrix: phpunit / phpunit
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
phpstan / phpstan: src/Facades/Http.php#L62
Parameter #2 $args of function wp_remote_request expects array{method?: string, timeout?: float, redirection?: int, httpversion?: string, user-agent?: string, reject_unsafe_urls?: bool, blocking?: bool, headers?: array|string, ...}, array<string, mixed> given.
phpstan / phpstan: src/Facades/Http.php#L76
Parameter #2 $args of function wp_remote_get expects array{method?: string, timeout?: float, redirection?: int, httpversion?: string, user-agent?: string, reject_unsafe_urls?: bool, blocking?: bool, headers?: array|string, ...}, array<string, mixed> given.
phpstan / phpstan: src/Facades/Http.php#L90
Parameter #2 $args of function wp_remote_post expects array{method?: string, timeout?: float, redirection?: int, httpversion?: string, user-agent?: string, reject_unsafe_urls?: bool, blocking?: bool, headers?: array|string, ...}, array<string, mixed> given.
phpstan / phpstan: src/Facades/Http.php#L104
Parameter #2 $args of function wp_remote_head expects array{method?: string, timeout?: float, redirection?: int, httpversion?: string, user-agent?: string, reject_unsafe_urls?: bool, blocking?: bool, headers?: array|string, ...}, array<string, mixed> given.
phpstan / phpstan
Process completed with exit code 1.
coverage / coverage
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/