diff --git a/Controller/CommandController.php b/Controller/CommandController.php index 260cbf4..60b7fa2 100644 --- a/Controller/CommandController.php +++ b/Controller/CommandController.php @@ -4,8 +4,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Console\Application as App; -use Symfony\Component\Console\Tester\CommandTester; -use Symfony\Component\Process\ProcessBuilder; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\RedirectResponse; diff --git a/DataCollector/CommandDataCollector.php b/DataCollector/CommandDataCollector.php index d28ce8f..e1841fa 100644 --- a/DataCollector/CommandDataCollector.php +++ b/DataCollector/CommandDataCollector.php @@ -5,7 +5,6 @@ use Symfony\Component\HttpKernel\DataCollector\DataCollector; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; class CommandDataCollector extends DataCollector { diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 23eedc0..9e7d87a 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -18,7 +18,7 @@ class Configuration implements ConfigurationInterface public function getConfigTreeBuilder() { $treeBuilder = new TreeBuilder(); - $rootNode = $treeBuilder->root('juanber84_profilercommand'); + //$rootNode = $treeBuilder->root('juanber84_profilercommand'); // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for diff --git a/DependencyInjection/Juanber84ProfilercommandExtension.php b/DependencyInjection/Juanber84ProfilercommandExtension.php index 37b9ac4..5b76f4a 100644 --- a/DependencyInjection/Juanber84ProfilercommandExtension.php +++ b/DependencyInjection/Juanber84ProfilercommandExtension.php @@ -19,8 +19,8 @@ class Juanber84ProfilercommandExtension extends Extension */ public function load(array $configs, ContainerBuilder $container) { - $configuration = new Configuration(); - $config = $this->processConfiguration($configuration, $configs); + //$configuration = new Configuration(); + //$config = $this->processConfiguration($configuration, $configs); $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); $loader->load('services.yml'); diff --git a/README.md b/README.md index f81461b..9bfce5e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ -ProfilercommandBundle -- ALPHA VERSION -====================================== +ProfilercommandBundle -- 1.0 +============================ +Commands tools in your Symfonyprofiler. First stable version. -Commands tools in your Symfonyprofiler +[![SensioLabsInsight](https://insight.sensiolabs.com/projects/f309f5a9-77c1-464c-ae6c-587ec91f60cc/big.png)](https://insight.sensiolabs.com/projects/f309f5a9-77c1-464c-ae6c-587ec91f60cc) ![alt text](http://juanber84.pusku.com/recursos/pantallazo.png "ProfilercommandBundle") @@ -9,23 +10,25 @@ Add in your composer.json { "require": { - "juanber84/profilercommand-bundle": "dev-master" + "juanber84/profilercommand-bundle": "1.0.*@dev" } } Add in your app/AppKernel.php - =5.3.2", - "symfony/framework-bundle": ">=2.0.0" + "php": ">=5.3.2" }, "autoload": { "psr-0": {