Skip to content

Commit cfc3f25

Browse files
Revert "feature symfony#27801 [MonologBridge] Add ProcessorInterface, enabling autoconfiguration of monolog processors (nicolas-grekas)"
This reverts commit f27c3a8, reversing changes made to 9da0454.
1 parent 7cb823a commit cfc3f25

File tree

5 files changed

+2
-31
lines changed

5 files changed

+2
-31
lines changed

src/Symfony/Bridge/Monolog/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CHANGELOG
44
4.2.0
55
-----
66

7-
* added `ProcessorInterface`: an optional interface to allow autoconfiguration of Monolog processors
87
* The methods `DebugProcessor::getLogs()`, `DebugProcessor::countErrors()`, `Logger::getLogs()`
98
and `Logger::countErrors()` will have a new `$request` argument in version 5.0, not defining
109
it is deprecated

src/Symfony/Bridge/Monolog/Processor/ProcessorInterface.php

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Symfony/Bridge/Monolog/Processor/TokenProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Dany Maillard <[email protected]>
2020
*/
21-
class TokenProcessor implements ProcessorInterface
21+
class TokenProcessor
2222
{
2323
private $tokenStorage;
2424

src/Symfony/Bridge/Monolog/Processor/WebProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @author Jordi Boggiano <[email protected]>
2323
*/
24-
class WebProcessor extends BaseWebProcessor implements EventSubscriberInterface, ProcessorInterface
24+
class WebProcessor extends BaseWebProcessor implements EventSubscriberInterface
2525
{
2626
public function __construct(array $extraFields = null)
2727
{

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Psr\Container\ContainerInterface as PsrContainerInterface;
1818
use Psr\Log\LoggerAwareInterface;
1919
use Symfony\Bridge\Monolog\Processor\DebugProcessor;
20-
use Symfony\Bridge\Monolog\Processor\ProcessorInterface;
2120
use Symfony\Bridge\Twig\Extension\CsrfExtension;
2221
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
2322
use Symfony\Bundle\FrameworkBundle\Routing\AnnotatedRouteControllerLoader;
@@ -343,8 +342,6 @@ public function load(array $configs, ContainerBuilder $container)
343342
->addTag('kernel.reset', array('method' => 'reset'));
344343
}
345344

346-
$container->registerForAutoconfiguration(ProcessorInterface::class)
347-
->addTag('monolog.processor');
348345
$container->registerForAutoconfiguration(PropertyListExtractorInterface::class)
349346
->addTag('property_info.list_extractor');
350347
$container->registerForAutoconfiguration(PropertyTypeExtractorInterface::class)

0 commit comments

Comments
 (0)