mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 (#580)
* Update Symfony lib to version ~6.4.0 * Update code missing return type * Add an iTop general configuration entry to store application secret (Symfony mandatory parameter) * Use dependency injection in ExceptionListener & UserProvider classes
This commit is contained in:
@@ -17,7 +17,7 @@ use Symfony\Bundle\WebProfilerBundle\Controller\RouterController;
|
||||
use Symfony\Bundle\WebProfilerBundle\Csp\ContentSecurityPolicyHandler;
|
||||
use Symfony\Bundle\WebProfilerBundle\Csp\NonceGenerator;
|
||||
use Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension;
|
||||
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
|
||||
use Symfony\Component\ErrorHandler\ErrorRenderer\FileLinkFormatter;
|
||||
use Symfony\Component\VarDumper\Dumper\HtmlDumper;
|
||||
|
||||
return static function (ContainerConfigurator $container) {
|
||||
|
||||
@@ -20,6 +20,14 @@
|
||||
<default key="_controller">web_profiler.controller.profiler::phpinfoAction</default>
|
||||
</route>
|
||||
|
||||
<route id="_profiler_xdebug" path="/xdebug">
|
||||
<default key="_controller">web_profiler.controller.profiler::xdebugAction</default>
|
||||
</route>
|
||||
|
||||
<route id="_profiler_font" path="/font/{fontName}.woff2">
|
||||
<default key="_controller">web_profiler.controller.profiler::fontAction</default>
|
||||
</route>
|
||||
|
||||
<route id="_profiler_search_results" path="/{token}/search/results">
|
||||
<default key="_controller">web_profiler.controller.profiler::searchResultsAction</default>
|
||||
</route>
|
||||
|
||||
Reference in New Issue
Block a user