Skip to content

Commit

Permalink
Merge pull request #208 from janatjak/master
Browse files Browse the repository at this point in the history
fix processConfiguration - symfony 3.3.8
  • Loading branch information
acasademont authored Dec 3, 2017
2 parents 100a6c3 + d0de9ef commit c5ed2b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions DependencyInjection/JMSI18nRoutingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

namespace JMS\I18nRoutingBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Processor;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\ContainerBuilder;
Expand All @@ -33,8 +32,7 @@ class JMSI18nRoutingExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
$processor = new Processor();
$config = $processor->processConfiguration(new Configuration, $configs);
$config = $this->processConfiguration(new Configuration, $configs);

$loader = new XmlFileLoader($container, new FileLocator(array(__DIR__.'/../Resources/config')));
$loader->load('services.xml');
Expand Down

0 comments on commit c5ed2b9

Please sign in to comment.