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 cfc3f25

Browse filesBrowse files
Revert "feature #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
Copy full SHA for cfc3f25

File tree

Expand file treeCollapse file tree

5 files changed

+2
-31
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+2
-31
lines changed

‎src/Symfony/Bridge/Monolog/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/CHANGELOG.md
-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/Processor/ProcessorInterface.php
-25Lines changed: 0 additions & 25 deletions
This file was deleted.

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/Processor/TokenProcessor.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Dany Maillard <danymaillard93b@gmail.com>
2020
*/
21-
class TokenProcessor implements ProcessorInterface
21+
class TokenProcessor
2222
{
2323
private $tokenStorage;
2424

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/Processor/WebProcessor.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @author Jordi Boggiano <j.boggiano@seld.be>
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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.