File tree 1 file changed +6
-1
lines changed
src/Symfony/Component/Config/Tests/Builder
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 9
9
use Symfony \Component \Config \Definition \Exception \InvalidConfigurationException ;
10
10
use Symfony \Component \Config \Tests \Builder \Fixtures \AddToList ;
11
11
use Symfony \Component \Config \Tests \Builder \Fixtures \NodeInitialValues ;
12
+ use Symfony \Component \DependencyInjection \Loader \Configurator \ParamConfigurator ;
12
13
use Symfony \Config \AddToListConfig ;
13
14
14
15
/**
@@ -25,12 +26,16 @@ public function fixtureNames()
25
26
'VariableType ' => 'variable_type ' ,
26
27
'AddToList ' => 'add_to_list ' ,
27
28
'NodeInitialValues ' => 'node_initial_values ' ,
28
- 'Placeholders ' => 'placeholders ' ,
29
29
];
30
30
31
31
foreach ($ array as $ name => $ alias ) {
32
32
yield $ name => [$ name , $ alias ];
33
33
}
34
+
35
+ // If symfony/dependency-injection:^5.3 is installed
36
+ if (class_exists (ParamConfigurator::class)) {
37
+ yield 'Placeholders ' => ['Placeholders ' , 'placeholders ' ];
38
+ }
34
39
}
35
40
36
41
/**
You can’t perform that action at this time.
0 commit comments