Skip to content

feat(Module/WPCLI) support custom bin #619

feat(Module/WPCLI) support custom bin

feat(Module/WPCLI) support custom bin #619

Triggered via pull request November 26, 2024 14:07
Status Failure
Total duration 47s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis
34s
Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Static Analysis: src/Module/WPCLI.php#L619
Method lucatume\WPBrowser\Module\WPCLI::getDefaultEnv() should return array{WP_CLI_CACHE_DIR: string, WP_CLI_CONFIG_PATH?: string, WP_CLI_CUSTOM_SHELL?: string, WP_CLI_PACKAGES_DIR?: string, WP_CLI_DISABLE_AUTO_CHECK_UPDATE: true, WP_CLI_STRICT_ARGS_MODE: true} but returns array{WP_CLI_CACHE_DIR?: string, WP_CLI_CONFIG_PATH?: non-empty-string, WP_CLI_CUSTOM_SHELL?: non-empty-string, WP_CLI_PACKAGES_DIR?: non-empty-string, WP_CLI_DISABLE_AUTO_CHECK_UPDATE: true, WP_CLI_STRICT_ARGS_MODE: true}.
Static Analysis
Process completed with exit code 1.