Skip to content

Update for WordPress 7.0 #56

Update for WordPress 7.0

Update for WordPress 7.0 #56

Triggered via pull request February 22, 2026 16:39
@swissspidyswissspidy
synchronize #5
fix/wp-7.0
Status Failure
Total duration 24s
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
20s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
16s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
7s
code-quality / Spell check
code-quality  /  PHPCS
18s
code-quality / PHPCS
code-quality  /  PHPStan
21s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
code-quality / PHPStan: src/AI_Command.php#L352
Parameter $builder of method WP_CLI\AI\AI_Command::generate_image() has invalid type WordPress\AI_Client\Builders\Prompt_Builder.
code-quality / PHPStan: src/AI_Command.php#L339
Access to constant KEY_TOTAL_TOKENS on an unknown class WordPress\AiClient\Results\DTO\TokenUsage.
code-quality / PHPStan: src/AI_Command.php#L338
Access to constant KEY_COMPLETION_TOKENS on an unknown class WordPress\AiClient\Results\DTO\TokenUsage.
code-quality / PHPStan: src/AI_Command.php#L337
Access to constant KEY_PROMPT_TOKENS on an unknown class WordPress\AiClient\Results\DTO\TokenUsage.
code-quality / PHPStan: src/AI_Command.php#L318
Call to method generate_text_result() on an unknown class WordPress\AI_Client\Builders\Prompt_Builder.
code-quality / PHPStan: src/AI_Command.php#L314
Call to method is_supported_for_text_generation() on an unknown class WordPress\AI_Client\Builders\Prompt_Builder.
code-quality / PHPStan: src/AI_Command.php#L310
Parameter $builder of method WP_CLI\AI\AI_Command::generate_text() has invalid type WordPress\AI_Client\Builders\Prompt_Builder.
code-quality / PHPStan: src/AI_Command.php#L282
Function wp_ai_client_prompt not found.
code-quality / PHPStan: src/AI_Command.php#L221
Call to static method prompt() on an unknown class WordPress\AI_Client\AI_Client.
code-quality / PHPStan: src/AI_Command.php#L123
Call to static method prompt() on an unknown class WordPress\AI_Client\AI_Client.