Skip to content

Update szepeviktor/phpstan-wordpress requirement from ^1.1 to ^2.0 #165

Update szepeviktor/phpstan-wordpress requirement from ^1.1 to ^2.0

Update szepeviktor/phpstan-wordpress requirement from ^1.1 to ^2.0 #165

Triggered via pull request December 2, 2024 00:33
Status Failure
Total duration 2m 13s
Artifacts

all-pr-tests.yml

on: pull_request
Matrix: pr-tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
PR Tests PHP 8.1 WordPress latest: blocks/post-title/render.php#L16
Parameter #1 $value of function intval expects array|bool|float|int|resource|string|null, mixed given.
PR Tests PHP 8.1 WordPress latest: blocks/post-title/render.php#L33
Parameter #1 $value of function count expects array|Countable, mixed given.
PR Tests PHP 8.1 WordPress latest: blocks/post-title/render.php#L34
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
PR Tests PHP 8.1 WordPress latest: blocks/post-title/render.php#L35
Cannot access offset 'postId' on mixed.
PR Tests PHP 8.1 WordPress latest: blocks/post-title/render.php#L36
Cannot access offset 'title' on mixed.
PR Tests PHP 8.1 WordPress latest: blocks/post-title/render.php#L45
Parameter #1 $text of function esc_html expects string, mixed given.
PR Tests PHP 8.1 WordPress latest: entries/slotfills/index.php#L35
Cannot access offset 'dependencies' on mixed.
PR Tests PHP 8.1 WordPress latest: entries/slotfills/index.php#L35
Parameter #3 $deps of function wp_register_script expects array<string>, mixed given.
PR Tests PHP 8.1 WordPress latest: entries/slotfills/index.php#L36
Cannot access offset 'version' on mixed.
PR Tests PHP 8.1 WordPress latest: entries/slotfills/index.php#L36
Parameter #4 $ver of function wp_register_script expects bool|string|null, mixed given.
PR Tests PHP 8.3 WordPress latest
The job was canceled because "_8_1_latest" failed.
PR Tests PHP 8.2 WordPress latest
The job was canceled because "_8_1_latest" failed.