Skip to content

Commit

Permalink
drop unused BacktraceLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Oct 29, 2023
1 parent 989b9d2 commit 55c3826
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);

Check warning on line 223 in DependencyInjection/DoctrineExtension.php

View check run for this annotation

Codecov / codecov/patch

DependencyInjection/DoctrineExtension.php#L223

Added line #L223 was not covered by tests
}

/**
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(

Check warning on line 1171 in DependencyInjection/DoctrineExtension.php

View check run for this annotation

Codecov / codecov/patch

DependencyInjection/DoctrineExtension.php#L1171

Added line #L1171 was not covered by tests
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 55c3826

Please sign in to comment.