Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 33553ee

Browse filesBrowse files
committed
Remove autoconfiguration for ProcessorInterface
1 parent 44db49f commit 33553ee
Copy full SHA for 33553ee

File tree

Expand file treeCollapse file tree

1 file changed

+1
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-9
lines changed

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterTokenUsageTrackingPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterTokenUsageTrackingPass.php
+1-9Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@
1111

1212
namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Compiler;
1313

14-
use Symfony\Bridge\Monolog\Processor\ProcessorInterface;
15-
use Symfony\Component\DependencyInjection\Argument\BoundArgument;
1614
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1715
use Symfony\Component\DependencyInjection\ContainerBuilder;
1816
use Symfony\Component\DependencyInjection\Reference;
19-
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
2017

2118
/**
22-
* Injects the session tracker enabler in "security.context_listener" + binds "security.untracked_token_storage" to ProcessorInterface instances.
19+
* Injects the session tracker enabler in "security.context_listener".
2320
*
2421
* @author Nicolas Grekas <p@tchwork.com>
2522
*
@@ -36,11 +33,6 @@ public function process(ContainerBuilder $container)
3633
return;
3734
}
3835

39-
$processorAutoconfiguration = $container->registerForAutoconfiguration(ProcessorInterface::class);
40-
$processorAutoconfiguration->setBindings($processorAutoconfiguration->getBindings() + [
41-
TokenStorageInterface::class => new BoundArgument(new Reference('security.untracked_token_storage'), false),
42-
]);
43-
4436
if (!$container->has('session.factory')) {
4537
$container->setAlias('security.token_storage', 'security.untracked_token_storage')->setPublic(true);
4638
$container->getDefinition('security.untracked_token_storage')->addTag('kernel.reset', ['method' => 'reset']);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.