Skip to content

Fix tests against WordPress trunk #688

Fix tests against WordPress trunk

Fix tests against WordPress trunk #688

Triggered via pull request February 10, 2026 09:27
Status Failure
Total duration 32s
Artifacts

code-quality.yml

on: pull_request
code-quality  /  Lint GitHub Actions workflows
6s
code-quality / Lint GitHub Actions workflows
code-quality  /  Lint PHP files
17s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
13s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
7s
code-quality / Spell check
code-quality  /  PHPCS
22s
code-quality / PHPCS
code-quality  /  PHPStan
28s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
code-quality / PHPStan: src/Term_Command.php#L657
PHPDoc tag `@var` with type array<WP_Term> is not subtype of type array<int, WP_Term>|WP_Error.
code-quality / PHPStan: src/Term_Command.php#L298
Access to an undefined property WP_Term::$url.
code-quality / PHPStan: src/Term_Command.php#L146
PHPDoc tag `@var` with type array<WP_Term> is not subtype of type array<int, WP_Term>|WP_Error.
code-quality / PHPStan: src/Site_Command.php#L1249
Method Site_Command::check_site_ids_and_slug() has WP_CLI\ExitException in PHPDoc `@throws` tag but it's not thrown.
code-quality / PHPStan: src/Post_Block_Command.php#L683
Parameter #1 $blocks of function serialize_blocks expects array<int|string, array{blockName: string|null, attrs: array, innerBlocks: array<array>, innerHTML: string, innerContent: array}>, array<mixed> given.
code-quality / PHPStan: src/Post_Block_Command.php#L646
Cannot access offset 'blockName' on mixed.
code-quality / PHPStan: src/Comment_Command.php#L450
Cannot access property $url on mixed.
code-quality / PHPStan: src/Comment_Command.php#L450
Cannot access property $comment_ID on mixed.
code-quality / PHPStan: src/Comment_Command.php#L282
Access to an undefined property WP_Comment::$url.
code-quality / PHPStan: entity-command.php#L61
Cannot access property $blogmeta on mixed.