Skip to content

Add initial set of block-related commands #583

Add initial set of block-related commands

Add initial set of block-related commands #583

Re-run triggered November 11, 2025 09:55
Status Failure
Total duration 44s
Artifacts

code-quality.yml

on: pull_request
code-quality  /  Lint GitHub Actions workflows
8s
code-quality / Lint GitHub Actions workflows
code-quality  /  Lint PHP files
16s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
15s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
4s
code-quality / Spell check
code-quality  /  PHPCS
21s
code-quality / PHPCS
code-quality  /  PHPStan
37s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

14 errors
code-quality / PHPCS
Process completed with exit code 1.
code-quality / PHPCS: src/Block_Command.php#L27
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Block_Command".
code-quality / PHPCS: src/Pattern_Command.php#L25
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Pattern_Command".
code-quality / PHPCS
Process completed with exit code 1.
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.
code-quality / PHPStan: src/Block_Command.php#L202
Property WP_Block_Type::$api_version (int) on left side of ?? is not nullable.
code-quality / PHPStan: src/Block_Command.php#L200
Property WP_Block_Type::$styles (array) on left side of ?? is not nullable.
code-quality / PHPStan: src/Block_Command.php#L197
Property WP_Block_Type::$keywords (array<string>) on left side of ?? is not nullable.
code-quality / PHPStan: src/Block_Command.php#L193
Property WP_Block_Type::$description (string) on left side of ?? is not nullable.
code-quality / PHPStan: src/Block_Command.php#L192
Property WP_Block_Type::$title (string) on left side of ?? is not nullable.