[DependencyInjection] fix the ValidateEnvPlaceHolderPassTest that was using a deprecated path for TreeBuilder
This commit is contained in:
parent
d98dd9bd82
commit
caabd92f89
@ -332,7 +332,7 @@ class EnvConfigurationWithoutRootNode implements ConfigurationInterface
|
||||
{
|
||||
public function getConfigTreeBuilder()
|
||||
{
|
||||
return new TreeBuilder();
|
||||
return new TreeBuilder('env_extension');
|
||||
}
|
||||
}
|
||||
|
||||
@ -340,8 +340,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