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 @@ -26,6 +26,7 @@ CHANGELOG
26
26
3.4.0
27
27
-----
28
28
29
+ * Always register a minimalist logger that writes in ` stderr `
29
30
* Deprecated ` profiler.matcher ` option
30
31
* Added support for ` EventSubscriberInterface ` on ` MicroKernelTrait `
31
32
* Removed ` doctrine/cache ` from the list of required dependencies in ` composer.json `
Original file line number Diff line number Diff line change 28
28
use Symfony \Component \Console \Application ;
29
29
use Symfony \Component \Console \DependencyInjection \AddConsoleCommandPass ;
30
30
use Symfony \Component \HttpKernel \DependencyInjection \ControllerArgumentValueResolverPass ;
31
+ use Symfony \Component \HttpKernel \DependencyInjection \LoggerPass ;
31
32
use Symfony \Component \HttpKernel \DependencyInjection \RegisterControllerArgumentLocatorsPass ;
32
33
use Symfony \Component \HttpKernel \DependencyInjection \RemoveEmptyControllerArgumentLocatorsPass ;
33
34
use Symfony \Component \HttpKernel \DependencyInjection \ResettableServicePass ;
@@ -74,6 +75,7 @@ public function build(ContainerBuilder $container)
74
75
{
75
76
parent ::build ($ container );
76
77
78
+ $ container ->addCompilerPass (new LoggerPass (), PassConfig::TYPE_BEFORE_OPTIMIZATION , -32 );
77
79
$ container ->addCompilerPass (new RegisterControllerArgumentLocatorsPass ());
78
80
$ container ->addCompilerPass (new RemoveEmptyControllerArgumentLocatorsPass (), PassConfig::TYPE_BEFORE_REMOVING );
79
81
$ container ->addCompilerPass (new RoutingResolverPass ());
You can’t perform that action at this time.
0 commit comments