From 13a0ae95a6a3b2f8ad57aa11196e9c570a041da0 Mon Sep 17 00:00:00 2001 From: Junaid Farooq Date: Tue, 12 Nov 2019 19:47:07 +0530 Subject: [PATCH] Handled deprecation related to tree builder to make it fully symfony 4 compatible --- DependencyInjection/Configuration.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index ed34a87..0342938 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -17,8 +17,7 @@ class Configuration implements ConfigurationInterface */ public function getConfigTreeBuilder() { - $treeBuilder = new TreeBuilder(); - $rootNode = $treeBuilder->root('qbil_open_exchange_rate'); + $treeBuilder = new TreeBuilder('qbil_open_exchange_rate'); // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for