Skip to content

Code Quality

Code Quality #805

Triggered via schedule December 15, 2024 00:23
Status Failure
Total duration 24s
Artifacts

coding-quality.yml

on: schedule
code-quality  /  phpstan PHP 8.1
16s
code-quality / phpstan PHP 8.1
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
code-quality / phpstan PHP 8.1: entries/slotfills/index.php#L33
Cannot access offset 'dependencies' on mixed.
code-quality / phpstan PHP 8.1: entries/slotfills/index.php#L33
Parameter #3 $deps of function wp_register_script expects array<string>, mixed given.
code-quality / phpstan PHP 8.1: entries/slotfills/index.php#L34
Cannot access offset 'version' on mixed.
code-quality / phpstan PHP 8.1: entries/slotfills/index.php#L34
Parameter #4 $ver of function wp_register_script expects bool|string|null, mixed given.
code-quality / phpstan PHP 8.1: entries/slotfills/index.php#L43
Cannot access offset 'version' on mixed.
code-quality / phpstan PHP 8.1: entries/slotfills/index.php#L43
Parameter #4 $ver of function wp_enqueue_style expects bool|string|null, mixed given.
code-quality / phpstan PHP 8.1: src/assets.php#L141
Function Alley\WP\PDF\get_entry_asset_map() should return array{dependencies?: array<string>, version?: string} but returns mixed.
code-quality / phpstan PHP 8.1: src/assets.php#L157
Function Alley\WP\PDF\get_asset_dependency_array() should return array<int, string> but returns array<string>.
code-quality / phpstan PHP 8.1: src/class-generator.php#L68
Parameter #1 $str of method Dompdf\Dompdf::loadHtml() expects string, mixed given.
code-quality / phpstan PHP 8.1: src/meta.php#L101
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.
code-quality / phpstan PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636