Skip to content

refactor: escape --host in spark serve to prevent CLI command injection #14258

refactor: escape --host in spark serve to prevent CLI command injection

refactor: escape --host in spark serve to prevent CLI command injection #14258

Status Failure
Total duration 1m 16s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
1m 4s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

2 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis: tests/system/Commands/Server/ServeTest.php#L26
Function CodeIgniter\Commands\Server\passthru() never assigns null to &$result_code so it can be removed from the by-ref type.