Skip to content

PHPStan level 9

PHPStan level 9 #518

Triggered via pull request July 1, 2025 13:04
Status Failure
Total duration 48s
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
15s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
18s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
8s
code-quality / Spell check
code-quality  /  PHPCS
22s
code-quality / PHPCS
code-quality  /  PHPStan
43s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
code-quality / PHPStan: src/Post_Meta_Command.php#L39
Cannot access property $ID on mixed.
code-quality / PHPStan: src/Post_Command.php#L882
Call to an undefined method cli\progress\Bar|WP_CLI\NoOp::finish().
code-quality / PHPStan: src/Post_Command.php#L878
Call to an undefined method cli\progress\Bar|WP_CLI\NoOp::tick().
code-quality / PHPStan: src/Post_Command.php#L795
Cannot access property $ID on mixed.
code-quality / PHPStan: src/Option_Command.php#L332
Strict comparison using === between 'option_id' and 'option_id' will always evaluate to true.
code-quality / PHPStan: src/Menu_Item_Command.php#L372
Cannot cast mixed to int.
code-quality / PHPStan: src/Comment_Meta_Command.php#L113
Cannot access property $comment_ID on mixed.
code-quality / PHPStan: src/Comment_Meta_Command.php#L80
Return type (mixed) of method Comment_Meta_Command::get_metadata() should be covariant with return type (($single is true ? string : array<string>)) of method WP_CLI\CommandWithMeta::get_metadata()
code-quality / PHPStan: src/Comment_Command.php#L203
Call to an undefined method cli\progress\Bar|WP_CLI\NoOp::finish().
code-quality / PHPStan: src/Comment_Command.php#L193
Call to an undefined method cli\progress\Bar|WP_CLI\NoOp::tick().