Skip to content

Add --format flag to language update commands #264

Add --format flag to language update commands

Add --format flag to language update commands #264

Triggered via pull request February 12, 2026 08:52
Status Failure
Total duration 28s
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
16s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
16s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
8s
code-quality / Spell check
code-quality  /  PHPCS
15s
code-quality / PHPCS
code-quality  /  PHPStan
24s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

5 errors
code-quality / PHPStan
Process completed with exit code 1.
code-quality / PHPStan: src/WP_CLI/CommandWithTranslation.php#L396
Cannot access offset 'translations' on array{translations: array<array{language: string, version: string, updated: string, english_name: string, native_name: string, package: string, iso: array<string>, strings: array}>}|WP_Error.
code-quality / PHPStan: src/Theme_Language_Command.php#L544
Argument of an invalid type list<string>|false supplied for foreach, only iterables are supported.
code-quality / PHPStan: src/Plugin_Language_Command.php#L525
Argument of an invalid type list<string>|false supplied for foreach, only iterables are supported.
code-quality / PHPStan: src/Core_Language_Command.php#L310
Argument of an invalid type list<string>|false supplied for foreach, only iterables are supported.