davidyell / Learning-Symfony2

Learning Symfony2 by recreating a Stack Exchange website
MIT License
3 stars 0 forks source link

[Insight] Unused method, property, variable or parameter #21

Closed davidyell closed 10 years ago

davidyell commented 10 years ago

in src/Neon/ExchangeBundle/DependencyInjection/NeonExchangeExtension.php, line 23

This config local variable is declared but never used. You should remove it.

     * {@inheritDoc}
     */
    public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.xml');
    }
}

Posted from SensioLabsInsight