Skip to content

WAF: Avoid using Waf_Rules_Manager from Waf_Runner::initialize() #77050

WAF: Avoid using Waf_Rules_Manager from Waf_Runner::initialize()

WAF: Avoid using Waf_Rules_Manager from Waf_Runner::initialize() #77050

Triggered via pull request October 8, 2024 03:49
Status Failure
Total duration 8m 15s
Artifacts

tests.yml

on: pull_request
Determine tests matrix
8s
Determine tests matrix
Storybook tests
3m 11s
Storybook tests
Check plugin monorepo dep versions
33s
Check plugin monorepo dep versions
Static analysis
4m 42s
Static analysis
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Static analysis: projects/plugins/debug-helper/modules/class-waf-helper.php#L228
TypeError PhanTypeMismatchArgumentNullable Argument 1 ($file) is JETPACK_WAF_ENTRYPOINT of type ?array|?bool|?float|?int|?resource|?string but \Waf_Helper::render_waf_file() takes string defined at modules/class-waf-helper.php:148 (expected type to be non-nullable)
Static analysis
Process completed with exit code 1.