File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ CHANGELOG
4
4
3.4.0
5
5
-----
6
6
7
+ * Always register a minimalist logger that writes in ` stderr `
7
8
* Deprecated ` profiler.matcher ` option
8
9
* Added support for ` EventSubscriberInterface ` on ` MicroKernelTrait `
9
10
* Removed ` doctrine/cache ` from the list of required dependencies in ` composer.json `
Original file line number Diff line number Diff line change 31
31
use Symfony \Component \HttpKernel \DependencyInjection \AddCacheClearerPass ;
32
32
use Symfony \Component \HttpKernel \DependencyInjection \AddCacheWarmerPass ;
33
33
use Symfony \Component \HttpKernel \DependencyInjection \ControllerArgumentValueResolverPass ;
34
+ use Symfony \Component \HttpKernel \DependencyInjection \LoggerPass ;
34
35
use Symfony \Component \HttpKernel \DependencyInjection \RegisterControllerArgumentLocatorsPass ;
35
36
use Symfony \Component \HttpKernel \DependencyInjection \RemoveEmptyControllerArgumentLocatorsPass ;
36
37
use Symfony \Component \HttpKernel \DependencyInjection \ResettableServicePass ;
@@ -85,6 +86,7 @@ public function build(ContainerBuilder $container)
85
86
{
86
87
parent ::build ($ container );
87
88
89
+ $ container ->addCompilerPass (new LoggerPass (), PassConfig::TYPE_BEFORE_OPTIMIZATION , -32 );
88
90
$ container ->addCompilerPass (new RegisterControllerArgumentLocatorsPass ());
89
91
$ container ->addCompilerPass (new RemoveEmptyControllerArgumentLocatorsPass (), PassConfig::TYPE_BEFORE_REMOVING );
90
92
$ container ->addCompilerPass (new RoutingResolverPass ());
You can’t perform that action at this time.
0 commit comments