fsi-open /
admin-security-bundle
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
|
|||
| 13 | Request::enableHttpMethodParameterOverride(); |
||
| 14 | $request = Request::createFromGlobals(); |
||
| 15 | $response = $kernel->handle($request); |
||
| 16 | $response->send(); |
||
| 17 | $kernel->terminate($request, $response); |
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.