8000 bug #17 Fixed configuration processing (jeremyFreeAgent) · symfonycorp/connect-bundle@d246ab1 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit d246ab1

Browse files
committed
bug #17 Fixed configuration processing (jeremyFreeAgent)
This PR was merged into the 4.x-dev branch. Discussion ---------- Fixed configuration processing Not calling the `Extension::processConfiguration()` method prevents tracking env vars correctly, as spotted in symfony/symfony#24020. Commits ------- 095497c Fixed configuration processing
2 parents 0d86bac + 095497c commit d246ab1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

DependencyInjection/SensioLabsConnectExtension.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace SensioLabs\Bundle\ConnectBundle\DependencyInjection;
1313

1414
use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension;
15-
use Symfony\Component\Config\Definition\Processor;
1615
use Symfony\Component\Config\FileLocator;
1716
use Symfony\Component\DependencyInjection\ContainerBuilder;
1817
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
@@ -34,8 +33,7 @@ public function enableSecurity()
3433

3534
public function load(array $configs, ContainerBuilder $container)
3635
{
37-
$processor = new Processor();
38-
$config = $processor->processConfiguration(new Configuration(), $configs);
36+
$config = $this->processConfiguration(new Configuration(), $configs);
3937

4038
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
4139
$loader->load('connect.xml');

0 commit comments

Comments
 (0)
0