From 973f2db8703fba6c575807d0261ed188995ddd81 Mon Sep 17 00:00:00 2001 From: Jacek Skirzynski Date: Mon, 10 Oct 2016 00:14:04 +0200 Subject: [PATCH] Change default PostgreSQL configuration for fix " When no parameters is specified under postgresql, the bundle taking those from parameters.yml" functionality --- DependencyInjection/Configuration.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index cc8caf6..ed3d264 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -115,7 +115,6 @@ public function getConfigTreeBuilder() ->booleanNode('all_databases')->defaultFalse()->end() ->scalarNode('database')->defaultNull()->end() ->scalarNode('db_host')->defaultNull()->end() - //->scalarNode('db_host')->defaultValue('localhost')->end() ->scalarNode('db_port')->defaultValue(3306)->end() ->scalarNode('db_user')->defaultNull()->end() ->scalarNode('db_password')->defaultNull()->end() @@ -127,7 +126,7 @@ public function getConfigTreeBuilder() ->arrayNode('postgresql') ->children() ->scalarNode('database')->defaultNull()->end() - ->scalarNode('db_host')->defaultValue('localhost')->end() + ->scalarNode('db_host')->defaultNull()->end() ->scalarNode('db_port')->defaultValue(5432)->end() ->scalarNode('db_user')->defaultNull()->end() ->scalarNode('db_password')->defaultNull()->end()