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

Sign up
Appearance settings

Commit a56dedf

Browse files
committed
minor #545 Remove FixEmptyLoggerPass (GromNaN)
This PR was merged into the 4.x branch. Discussion ---------- Remove `FixEmptyLoggerPass` | Q | A | ------------- | --- | Branch? | 4.x | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT The `FixEmptyLoggerPass` class was added in c3fbde4 to fix an issue with monolog 1.x that has been fixed in 2.x by Seldaek/monolog@ad37b7b. It can be removed since monolog 3.x is required. Commits ------- 7cc6986 Remove FixEmptyLoggerPass
2 parents 863c5e4 + 7cc6986 commit a56dedf

File tree

3 files changed

+1
-98
lines changed

3 files changed

+1
-98
lines changed

‎src/DependencyInjection/Compiler/FixEmptyLoggerPass.php‎

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

‎src/MonologBundle.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Monolog\Formatter\LineFormatter;
1616
use Monolog\Handler\HandlerInterface;
1717
use Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\AddProcessorsPass;
18-
use Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\FixEmptyLoggerPass;
1918
use Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\LoggerChannelPass;
2019
use Symfony\Component\DependencyInjection\ContainerBuilder;
2120
use Symfony\Component\HttpKernel\Bundle\Bundle;
@@ -29,8 +28,7 @@ public function build(ContainerBuilder $container): void
2928
{
3029
parent::build($container);
3130

32-
$container->addCompilerPass($channelPass = new LoggerChannelPass());
33-
$container->addCompilerPass(new FixEmptyLoggerPass($channelPass));
31+
$container->addCompilerPass(new LoggerChannelPass());
3432
$container->addCompilerPass(new AddProcessorsPass());
3533
}
3634

‎tests/DependencyInjection/Compiler/FixEmptyLoggerPassTest.php‎

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /