Update szepeviktor/phpstan-wordpress requirement from ^1.1 to ^2.0 #63
all-pr-tests.yml
on: pull_request
Matrix: pr-tests
All PR checks passed
0s
Annotations
13 errors and 1 warning
PR Tests PHP 8.1 WordPress latest:
src/assets.php#L60
Function Alley\WP\Create_WordPress_Plugin\get_entry_asset_map() should return array{dependencies?: array<string>, version?: string} but returns mixed.
|
PR Tests PHP 8.1 WordPress latest:
src/assets.php#L76
Function Alley\WP\Create_WordPress_Plugin\get_asset_dependency_array() should return array<int, string> but returns array<string>.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L98
Parameter #3 $args of function register_meta expects array{object_subtype?: string, type?: string, label?: string, description?: string, single?: bool, default?: mixed, sanitize_callback?: callable(): mixed, auth_callback?: callable(): mixed, ...}, array given.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L110
Parameter #3 $args of function register_post_meta expects array{object_subtype?: string, type?: string, label?: string, description?: string, single?: bool, default?: mixed, sanitize_callback?: callable(): mixed, auth_callback?: callable(): mixed, ...}, array given.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L117
Parameter #3 $args of function register_term_meta expects array{object_subtype?: string, type?: string, label?: string, description?: string, single?: bool, default?: mixed, sanitize_callback?: callable(): mixed, auth_callback?: callable(): mixed, ...}, array given.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L150
Cannot access offset 'post_types' on mixed.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L152
Cannot access offset 'post_types' on mixed.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L155
Cannot access offset 'schema' on mixed.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L156
Cannot access offset 'schema' on mixed.
|
PR Tests PHP 8.1 WordPress latest:
src/meta.php#L156
Cannot access offset 'show_in_rest' on mixed.
|
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.
|
All PR checks passed
Process completed with exit code 1.
|
All PR checks passed
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|