Skip to content

Add initial set of block-related commands #584

Add initial set of block-related commands

Add initial set of block-related commands #584

Triggered via pull request November 11, 2025 10:17
Status Failure
Total duration 45s
Artifacts

code-quality.yml

on: pull_request
code-quality  /  Lint GitHub Actions workflows
5s
code-quality / Lint GitHub Actions workflows
code-quality  /  Lint PHP files
21s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
22s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
8s
code-quality / Spell check
code-quality  /  PHPCS
23s
code-quality / PHPCS
code-quality  /  PHPStan
41s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
code-quality / PHPStan
Process completed with exit code 1.
code-quality / PHPStan: src/WP_CLI/CommandWithMeta.php#L462
Parameter #1 $value of function wp_slash expects array|string, mixed given.
code-quality / PHPStan: src/WP_CLI/CommandWithMeta.php#L323
Parameter #1 $value of function wp_slash expects array|string, mixed given.
code-quality / PHPStan: src/User_Command.php#L583
Parameter #2 $assoc_args of method WP_CLI\CommandWithDBObject::_update() expects array, array|string given.
code-quality / PHPStan: src/Term_Command.php#L647
Parameter #1 $args of function get_terms expects array{taxonomy?: array<string>|string, object_ids?: array<int>|int, orderby?: string, order?: string, hide_empty?: bool|int, include?: array<int>|string, exclude?: array<int>|string, exclude_tree?: array<int>|string, ...}, non-falsy-string given.
code-quality / PHPStan: src/Term_Command.php#L214
Parameter #1 $term of function wp_insert_term expects string, array|string given.
code-quality / PHPStan: src/Post_Command.php#L1173
Function WP_CLI\Utils\yaml_dump not found.
code-quality / PHPStan: src/Post_Command.php#L1170
Parameter #1 $message of static method WP_CLI::line() expects string, string|false given.
code-quality / PHPStan: src/Comment_Command.php#L118
Parameter #2 $assoc_args of method WP_CLI\CommandWithDBObject::_update() expects array, array|string given.
code-quality / PHPStan: src/Comment_Command.php#L71
Parameter #2 $assoc_args of method WP_CLI\CommandWithDBObject::_create() expects array, array|string given.