[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()
|
public function getConfigTreeBuilder()
|
||||||
{
|
{
|
||||||
return new TreeBuilder();
|
return new TreeBuilder('env_extension');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -340,8 +340,8 @@ class ConfigurationWithArrayNodeRequiringOneElement implements ConfigurationInte
|
|||||||
{
|
{
|
||||||
public function getConfigTreeBuilder()
|
public function getConfigTreeBuilder()
|
||||||
{
|
{
|
||||||
$treeBuilder = new TreeBuilder();
|
$treeBuilder = new TreeBuilder('env_extension');
|
||||||
$treeBuilder->root('env_extension')
|
$treeBuilder->getRootNode()
|
||||||
->children()
|
->children()
|
||||||
->arrayNode('nodes')
|
->arrayNode('nodes')
|
||||||
->isRequired()
|
->isRequired()
|
||||||
|
Reference in New Issue
Block a user