Skip to content

Commit

Permalink
Merge pull request #1720 from dmaicher/drop_backtrace_logger
Browse files Browse the repository at this point in the history
drop unused BacktraceLogger
  • Loading branch information
stof authored Oct 30, 2023
2 parents 989b9d2 + 55c3826 commit 4290d51
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 53 deletions.
28 changes: 0 additions & 28 deletions Dbal/Logging/BacktraceLogger.php

This file was deleted.

4 changes: 2 additions & 2 deletions DependencyInjection/DoctrineExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ protected function dbalLoad(array $config, ContainerBuilder $container)
}
});

$this->useMiddlewaresIfAvailable($container, $connWithLogging, $connWithProfiling, $connWithBacktrace);
$this->registerDbalMiddlewares($container, $connWithLogging, $connWithProfiling, $connWithBacktrace);
}

/**
Expand Down Expand Up @@ -1168,7 +1168,7 @@ private function createArrayAdapterCachePool(ContainerBuilder $container, string
* @param string[] $connWithProfiling
* @param string[] $connWithBacktrace
*/
private function useMiddlewaresIfAvailable(
private function registerDbalMiddlewares(
ContainerBuilder $container,
array $connWithLogging,
array $connWithProfiling,
Expand Down
23 changes: 0 additions & 23 deletions Tests/Dbal/Logging/BacktraceLoggerTest.php

This file was deleted.

0 comments on commit 4290d51

Please sign in to comment.