Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #29102 [DI] fix GraphvizDumper ignoring inline definitions (nicol…
…as-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [DI] fix GraphvizDumper ignoring inline definitions | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Since SF3, inline definitions are first class citizen. I noticed that the GraphvizDumper does not inspect them. Here is the fix. Commits ------- ebe6265 [DI] fix GraphvizDumper ignoring inline definitions
- Loading branch information
Showing
3 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/Symfony/Component/DependencyInjection/Tests/Fixtures/graphviz/services_inline.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
digraph sc { | |||
ratio="compress" | |||
node [fontsize="11" fontname="Arial" shape="record"]; | |||
edge [fontsize="9" fontname="Arial" color="grey" arrowhead="open" arrowsize="0.5"]; | |||
|
|||
node_service_container [label="service_container (Psr\Container\ContainerInterface, Symfony\Component\DependencyInjection\ContainerInterface)\nSymfony\\Component\\DependencyInjection\\ContainerInterface\n", shape=record, fillcolor="#eeeeee", style="filled"]; | |||
node_foo [label="foo\nstdClass\n", shape=record, fillcolor="#eeeeee", style="filled"]; | |||
node_bar [label="bar\nstdClass\n", shape=record, fillcolor="#eeeeee", style="filled"]; | |||
node_foo -> node_bar [label="" style="filled"]; | |||
} |