deploy-agent
deploy-agent copied to clipboard
Bad Request expected
https://github.com/continuousphp/deploy-agent/blob/master/module/DeployAgent/src/Controller/HookController.php#L39-L42
We must check if $application
is a valid parameter, because in case of bad configuration of input parameter the next instruction will produce FATAL Error with method unexist on null variable.
The expected answer are a 400 Bad Request
.