Skip to content
Permalink
Browse files

Merge branch '4.2' into 4.3

* 4.2:
  [DependencyInjection] fix the ValidateEnvPlaceHolderPassTest that was using a deprecated path for TreeBuilder
  • Loading branch information...
nicolas-grekas committed Jun 7, 2019
2 parents e2bc10f + 7054a38 commit 4f714a63bbe0ae6b673a9b7397f5ee4212060b23
@@ -392,16 +392,16 @@ class EnvConfigurationWithoutRootNode implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
return new TreeBuilder();
return new TreeBuilder('env_extension');
}
}
class ConfigurationWithArrayNodeRequiringOneElement implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$treeBuilder->root('env_extension')
$treeBuilder = new TreeBuilder('env_extension');
$treeBuilder->getRootNode()
->children()
->arrayNode('nodes')
->isRequired()

0 comments on commit 4f714a6

Please sign in to comment.
You can’t perform that action at this time.