Skip to content

Fix: Multiple onFilter call issues related to the withAnyArgs method #390

Fix: Multiple onFilter call issues related to the withAnyArgs method

Fix: Multiple onFilter call issues related to the withAnyArgs method #390

Triggered via pull request March 17, 2025 12:10
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
php-compatibility
8s
php-compatibility
php-static-analysis
12s
php-static-analysis
Matrix: php-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors
php-static-analysis
Process completed with exit code 1.
php-static-analysis: php/WP_Mock/Filter.php#L49
Parameter #2 $parameters of function call_user_func_array expects array<int, mixed>, mixed given.
php-static-analysis: php/WP_Mock/Filter.php#L38
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
php-static-analysis: php/WP_Mock/Filter.php#L28
Parameter #1 $var of function count expects array|Countable, mixed given.
php-static-analysis: php/WP_Mock/Filter.php#L28
Cannot access offset 0 on mixed.