Skip to content

Add --force flag to plugin activate to re-run activation hooks #652

Add --force flag to plugin activate to re-run activation hooks

Add --force flag to plugin activate to re-run activation hooks #652

Re-run triggered February 7, 2026 13:40
Status Failure
Total duration 38s
Artifacts –

code-quality.yml

on: pull_request
code-quality  /  Lint GitHub Actions workflows
7s
code-quality / Lint GitHub Actions workflows
code-quality  /  Lint PHP files
22s
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
17s
code-quality / PHPCS
code-quality  /  PHPStan
32s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

11 errors
code-quality / Lint Gherkin Feature files
Process completed with exit code 1.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L879
Part $item_object['slug'] (mixed) of encapsed string cannot be cast to string.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L667
Cannot access offset mixed on mixed.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L666
Cannot access offset mixed on mixed.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L637
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L634
Cannot access offset 'update_version' on mixed.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L633
Cannot access offset 'update_version' on mixed.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L630
Cannot access offset 'version' on mixed.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L629
Cannot access offset 'version' on mixed.
code-quality / PHPStan: src/WP_CLI/CommandWithUpgrade.php#L258
Cannot call method move() on mixed.
code-quality / PHPStan: src/Plugin_Command.php#L1239
Access to an undefined property array|object::$requires_plugins.