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 9
9
env :
10
10
global :
11
11
- TEST_COMMAND="composer test"
12
- - SYMFONY_PHPUNIT_VERSION="6.3 "
12
+ - SYMFONY_PHPUNIT_VERSION="6.5 "
13
13
14
14
branches :
15
15
except :
@@ -39,7 +39,7 @@ matrix:
39
39
env : DEPENDENCIES="dunglas/symfony-lock:^4"
40
40
41
41
# Latest commit to master
42
- - php : 7.2
42
+ - php : 7.3
43
43
env : STABILITY="dev"
44
44
45
45
allow_failures :
Original file line number Diff line number Diff line change @@ -39,8 +39,13 @@ public function __construct($debug)
39
39
*/
40
40
public function getConfigTreeBuilder ()
41
41
{
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
+ }
44
49
45
50
$ root ->children ()
46
51
->arrayNode ('profiling ' )
You can’t perform that action at this time.
0 commit comments