Skip to content

Avoid side effects in FeatureContext file #598

Avoid side effects in FeatureContext file

Avoid side effects in FeatureContext file #598

Triggered via pull request December 17, 2025 14:51
Status Failure
Total duration 31s
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
20s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
15s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
4s
code-quality / Spell check
code-quality  /  PHPCS
25s
code-quality / PHPCS
code-quality  /  PHPStan
21s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

3 errors
code-quality / PHPStan
Process completed with exit code 1.
code-quality / PHPStan: src/Context/FeatureContext.php#L806
Dynamic call to static method WP_CLI\Tests\Context\FeatureContext::bootstrap_feature_context().
code-quality / PHPStan: src/Context/FeatureContext.php#L34
No error with identifier class.implementsDeprecatedInterface is reported on line 34.