Completed
Pull Request — master (#94)
by Piotr
18:59
created

features/fixtures/project/web/app_test.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
use Symfony\Component\HttpFoundation\Request;
4
use Symfony\Component\Debug\Debug;
5
6
$loader = require_once __DIR__.'/../app/bootstrap.php';
7
Debug::enable();
8
9
require_once __DIR__.'/../app/AppKernel.php';
10
11
$kernel = new AppKernel('test', true);
12
$kernel->loadClassCache();
0 ignored issues
show
Deprecated Code introduced by
The method Symfony\Component\HttpKe...ernel::loadClassCache() has been deprecated with message: since version 3.3, to be removed in 4.0.

This method has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.

Loading history...
13
Request::enableHttpMethodParameterOverride();
14
$request = Request::createFromGlobals();
15
$response = $kernel->handle($request);
16
$response->send();
17
$kernel->terminate($request, $response);