Skip to content

Add initial set of block-related commands #588

Add initial set of block-related commands

Add initial set of block-related commands #588

Triggered via pull request November 11, 2025 13:15
Status Failure
Total duration 41s
Artifacts

code-quality.yml

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

Annotations

8 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/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.