File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -704,8 +704,8 @@ private function addPhpErrorsSection(ArrayNodeDefinition $rootNode)
704
704
->children ()
705
705
->booleanNode ('log ' )
706
706
->info ('Use the app logger instead of the PHP logger for logging PHP errors. ' )
707
- ->defaultValue (false )
708
- ->treatNullLike (false )
707
+ ->defaultValue ($ this -> debug )
708
+ ->treatNullLike ($ this -> debug )
709
709
->end ()
710
710
->booleanNode ('throw ' )
711
711
->info ('Throw PHP errors as \ErrorException instances. ' )
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ protected static function getBundleDefaultConfig()
275
275
),
276
276
'workflows ' => array (),
277
277
'php_errors ' => array (
278
- 'log ' => false ,
278
+ 'log ' => true ,
279
279
'throw ' => true ,
280
280
),
281
281
);
You can’t perform that action at this time.
0 commit comments