Skip to content

Commit 54830e2

Browse files
committed
Do not use scalarPrototype() shortcut to ensure BC
1 parent 1dc791d commit 54830e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ public function getConfigTreeBuilder()
6565
'%kernel.cache_dir%',
6666
$this->getProjectRoot() . '/vendor',
6767
])
68-
->scalarPrototype()->end()
68+
->prototype('scalar')->end()
6969
->end()
7070
->arrayNode('excluded_exceptions')
7171
->defaultValue($defaultValues->getExcludedExceptions())
72-
->scalarPrototype()->end()
72+
->prototype('scalar')->end()
7373
->end()
7474
->scalarNode('http_proxy')
7575
->end()
@@ -81,7 +81,7 @@ public function getConfigTreeBuilder()
8181
->end()
8282
->arrayNode('prefixes')
8383
->defaultValue($defaultValues->getPrefixes())
84-
->scalarPrototype()->end()
84+
->prototype('scalar')->end()
8585
->end()
8686
->scalarNode('project_root')
8787
->defaultValue($this->getProjectRoot())
@@ -100,7 +100,7 @@ public function getConfigTreeBuilder()
100100
->end()
101101
->arrayNode('tags')
102102
->normalizeKeys(false)
103-
->scalarPrototype()
103+
->prototype('scalar')
104104
->end()
105105
;
106106

0 commit comments

Comments
 (0)