Merge branch '4.2' into 4.3
* 4.2: [DependencyInjection] fix the ValidateEnvPlaceHolderPassTest that was using a deprecated path for TreeBuilder
This commit is contained in:
commit
4f714a63bb
@ -392,7 +392,7 @@ class EnvConfigurationWithoutRootNode implements ConfigurationInterface
|
||||
{
|
||||
public function getConfigTreeBuilder()
|
||||
{
|
||||
return new TreeBuilder();
|
||||
return new TreeBuilder('env_extension');
|
||||
}
|
||||
}
|
||||
|
||||
@ -400,8 +400,8 @@ class ConfigurationWithArrayNodeRequiringOneElement implements ConfigurationInte
|
||||
{
|
||||
public function getConfigTreeBuilder()
|
||||
{
|
||||
$treeBuilder = new TreeBuilder();
|
||||
$treeBuilder->root('env_extension')
|
||||
$treeBuilder = new TreeBuilder('env_extension');
|
||||
$treeBuilder->getRootNode()
|
||||
->children()
|
||||
->arrayNode('nodes')
|
||||
->isRequired()
|
||||
|
Reference in New Issue
Block a user