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 2d6327f

Browse filesBrowse files
committed
feature #36372 [VarCloner] Cut Logger in dump (lyrixx)
This PR was merged into the 5.1-dev branch. Discussion ---------- [VarCloner] Cut Logger in dump | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | I inject the logger in allmost all my services, and when I dump them I got the logger and all its dependencies (processor, handler). So I end up with the TokenStorage, the Session, some Web info... IMHO, it's better to cut it. Commits ------- 903a57d [VarCloner] Cut Logger in dump
2 parents bfe6b6f + 903a57d commit 2d6327f
Copy full SHA for 2d6327f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ abstract class AbstractCloner implements ClonerInterface
7676
'ErrorException' => ['Symfony\Component\VarDumper\Caster\ExceptionCaster', 'castErrorException'],
7777
'Exception' => ['Symfony\Component\VarDumper\Caster\ExceptionCaster', 'castException'],
7878
'Error' => ['Symfony\Component\VarDumper\Caster\ExceptionCaster', 'castError'],
79+
'Symfony\Bridge\Monolog\Logger' => ['Symfony\Component\VarDumper\Caster\StubCaster', 'cutInternals'],
7980
'Symfony\Component\DependencyInjection\ContainerInterface' => ['Symfony\Component\VarDumper\Caster\StubCaster', 'cutInternals'],
8081
'Symfony\Component\EventDispatcher\EventDispatcherInterface' => ['Symfony\Component\VarDumper\Caster\StubCaster', 'cutInternals'],
8182
'Symfony\Component\HttpClient\CurlHttpClient' => ['Symfony\Component\VarDumper\Caster\SymfonyCaster', 'castHttpClient'],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.