From acdfaf8f3913c852c1b29ee7729e3f99161ba500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=83=D1=80=20=D0=93=D0=B0=D1=84=D0=B0?= =?UTF-8?q?=D1=80=D0=BE=D0=B2?= Date: Thu, 23 Jun 2016 15:33:52 +0300 Subject: [PATCH] Disable reading config Bundle has not extra configuration and TreeBuilder has not declared configuration tree. So on cache clearing it's throws RuntimeException: The configuration tree has no root node. --- src/Kix/MdashBundle/DependencyInjection/KixMdashExtension.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Kix/MdashBundle/DependencyInjection/KixMdashExtension.php b/src/Kix/MdashBundle/DependencyInjection/KixMdashExtension.php index 0b7af8a..ed29835 100644 --- a/src/Kix/MdashBundle/DependencyInjection/KixMdashExtension.php +++ b/src/Kix/MdashBundle/DependencyInjection/KixMdashExtension.php @@ -19,9 +19,6 @@ class KixMdashExtension extends Extension */ public function load(array $configs, ContainerBuilder $container) { - $configuration = new Configuration(); - $this->processConfiguration($configuration, $configs); - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); $loader->load('services.yml'); }