feat(Module/WPCLI) support custom bin #619
static-analysis.yml
on: pull_request
Static Analysis
34s
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.
|