8000 Revert "feature #27801 [MonologBridge] Add ProcessorInterface, enabling autoconfiguration of monolog processors" by nicolas-grekas · Pull Request #28845 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Revert "feature #27801 [MonologBridge] Add ProcessorInterface, enabling autoconfiguration of monolog processors" #28845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "feature #27801 [MonologBridge] Add ProcessorInterface, enabli…
…ng autoconfiguration of monolog processors (nicolas-grekas)"

This reverts commit f27c3a8, reversing
changes made to 9da0454.
  • Loading branch information
nicolas-grekas committed Oct 12, 2018
commit cfc3f254e7a07f770c006ef2960672959f8a809a
1 change: 0 additions & 1 deletion src/Symfony/Bridge/Monolog/CHANGELOG.md
8000
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CHANGELOG
4.2.0
-----

* added `ProcessorInterface`: an optional interface to allow autoconfiguration of Monolog processors
* The methods `DebugProcessor::getLogs()`, `DebugProcessor::countErrors()`, `Logger::getLogs()`
and `Logger::countErrors()` will have a new `$request` argument in version 5.0, not defining
it is deprecated
Expand Down
25 changes: 0 additions & 25 deletions src/Symfony/Bridge/Monolog/Processor/ProcessorInterface.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Monolog/Processor/TokenProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @author Dany Maillard <danymaillard93b@gmail.com>
*/
class TokenProcessor implements ProcessorInterface
class TokenProcessor
{
private $tokenStorage;

Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Monolog/Processor/WebProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @author Jordi Boggiano <j.boggiano@seld.be>
*/
class WebProcessor extends BaseWebProcessor implements EventSubscriberInterface, ProcessorInterface
class WebProcessor extends BaseWebProcessor implements EventSubscriberInterface
{
public function __construct(array $extraFields = null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Psr\Container\ContainerInterface as PsrContainerInterface;
use Psr\Log\LoggerAwareInterface;
use Symfony\Bridge\Monolog\Processor\DebugProcessor;
use Symfony\Bridge\Monolog\Processor\ProcessorInterface;
use Symfony\Bridge\Twig\Extension\CsrfExtension;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Bundle\FrameworkBundle\Routing\AnnotatedRouteControllerLoader;
Expand Down Expand Up @@ -343,8 +342,6 @@ public function load(array $configs, ContainerBuilder $container)
->addTag('kernel.reset', array('method' => 'reset'));
}

$container->registerForAutoconfiguration(ProcessorInterface::class)
->addTag('monolog.processor');
$container->registerForAutoconfiguration(PropertyListExtractorInterface::class)
->addTag('property_info.list_extractor');
$container->registerForAutoconfiguration(PropertyTypeExtractorInterface::class)
Expand Down
0