From 4e7d7775ef910cad7463620758ec225124bf39de Mon Sep 17 00:00:00 2001 From: Adam Prager Date: Tue, 21 Jul 2015 16:45:17 +0200 Subject: [PATCH] Removed http kernel dependency --- DependencyInjection/Configuration.php | 5 ----- DependencyInjection/Padam87CronExtension.php | 10 +--------- composer.json | 1 - 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 91ee11e..2e19f42 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -5,11 +5,6 @@ use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; -/** - * This is the class that validates and merges configuration from your app/config files - * - * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class} - */ class Configuration implements ConfigurationInterface { /** diff --git a/DependencyInjection/Padam87CronExtension.php b/DependencyInjection/Padam87CronExtension.php index f38bddc..e0d8e00 100644 --- a/DependencyInjection/Padam87CronExtension.php +++ b/DependencyInjection/Padam87CronExtension.php @@ -3,14 +3,9 @@ namespace Padam87\CronBundle\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader; -/** - * This is the class that loads and manages your bundle configuration - * - * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html} - */ class Padam87CronExtension extends Extension { /** @@ -22,8 +17,5 @@ public function load(array $configs, ContainerBuilder $container) $config = $this->processConfiguration($configuration, $configs); $container->setParameter('padam87_cron', $config); - - //$loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); - //$loader->load('services.xml'); } } diff --git a/composer.json b/composer.json index 73fa7c5..23d498e 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,6 @@ "symfony/console": "~2.3", "symfony/process": "~2.3", "symfony/config": "~2.3", - "symfony/http-kernel": "~2.3", "symfony/dependency-injection": "~2.3" }, "require-dev": {