File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 99env :
1010 global :
1111 - TEST_COMMAND="composer test"
12- - SYMFONY_PHPUNIT_VERSION="6.3 "
12+ - SYMFONY_PHPUNIT_VERSION="6.5 "
1313
1414branches :
1515 except :
@@ -39,7 +39,7 @@ matrix:
3939 env : DEPENDENCIES="dunglas/symfony-lock:^4"
4040
4141 # Latest commit to master
42- - php : 7.2
42+ - php : 7.3
4343 env : STABILITY="dev"
4444
4545 allow_failures :
Original file line number Diff line number Diff line change @@ -39,8 +39,13 @@ public function __construct($debug)
3939 */
4040 public function getConfigTreeBuilder ()
4141 {
42- $ treeBuilder = new TreeBuilder ();
43- $ root = $ treeBuilder ->root ('neo4j ' );
42+ $ treeBuilder = new TreeBuilder ('neo4j ' );
43+ // Keep compatibility with symfony/config < 4.2
44+ if (!method_exists ($ treeBuilder , 'getRootNode ' )) {
45+ $ root = $ treeBuilder ->root ('neo4j ' );
46+ } else {
47+ $ root = $ treeBuilder ->getRootNode ();
48+ }
4449
4550 $ root ->children ()
4651 ->arrayNode ('profiling ' )
You can’t perform that action at this time.
0 commit comments