Currently, this translation is handled by the $serverRequest = ServerRequest::fromGlobals(); line that uses the global PHP vars, but this could be a limit, especially for testing purposes. In behat there is not a real HTTP request, so we should remove the use of these globals.
Currently, this translation is handled by the
$serverRequest = ServerRequest::fromGlobals();line that uses the global PHP vars, but this could be a limit, especially for testing purposes. In behat there is not a real HTTP request, so we should remove the use of these globals.