Skip to content

Code Quality

Code Quality #897

Triggered via schedule March 6, 2025 00:20
Status Failure
Total duration 36s
Artifacts

coding-quality.yml

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

Annotations

10 errors
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.