[HttpFoundation] added static Request::fromGlobals()
[HttpFoundation] added static Request::fromGlobals()

The Request constructor no longer uses values from PHP's super globals. If you want a Request populated with these values you must use the new static method Request::fromGlobals().

Your front controllers (i.e. web/app.php, web/app_dev.php ...) will need to be updated:

    // old
    $kernel->handle(new Request())->send();

    // new
    $kernel->handle(Request::fromGlobals())->send();

symfony/HttpFoundation,symfony/http-foundation,ygerasimov/HttpFoundation,mneuhaus/HttpFoundation,nichdu/HttpFoundation,oswaldderiemaecker/HttpFoundation