From 52df5a63d1b068b248645de4b84d8e7c4d7e7620 Mon Sep 17 00:00:00 2001 From: Mariusz Witek Date: Wed, 1 Jul 2020 12:26:57 +0200 Subject: [PATCH 1/2] Symfony 4.3 deprecation --- DependencyInjection/Configuration.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 298ba7b..4bb9b6f 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('serwer_sms_serwer_sms'); + $treeBuilder = new TreeBuilder('serwer_sms_serwer_sms'); // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for From e5f08c3929f48125cd184712bf1e45f0c2b15a7c Mon Sep 17 00:00:00 2001 From: Mariusz Witek Date: Wed, 1 Jul 2020 12:33:18 +0200 Subject: [PATCH 2/2] Symfony 4.3 deprecation --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7e5e8cd..f5a0464 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name" : "serwersms/serwersmsbundle", "description" : "This is a Symfony2,3,4 Bundle for communication with the API v2 SerwerSMS.pl", "type" : "symfony-bundle", - "version": "1.0.3", + "version": "1.0.4", "authors": [ { "name": "SerwerSMS.pl",