Commit 97bd5a0
committed
bug symfony#50945 [DebugBundle][FrameworkBundle] Fix using the framework without the Console component (HypeMC)
This PR was merged into the 5.4 branch.
Discussion
----------
[DebugBundle][FrameworkBundle] Fix using the framework without the Console component
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
While working on symfony#50787 I've noticed that it's impossible to use the framework without the Console component, event though it's an optional dependency.
This PR aims to fix that. I've tested these changes on 5.4 & 6.3, however, I only made sure the container can compile. I'm not sure if there are any other gotchas.
Commits
-------
feddf40 [DebugBundle][FrameworkBundle] Fix using the framework without the Console componentFile tree
2 files changed
+10
-7
lines changed- src/Symfony/Bundle
- DebugBundle/DependencyInjection
- FrameworkBundle/DependencyInjection
2 files changed
+10
-7
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
2157 | | - | |
2158 | | - | |
2159 | | - | |
2160 | | - | |
2161 | | - | |
2162 | | - | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
2163 | 2165 | | |
2164 | 2166 | | |
2165 | 2167 | | |
| |||
0 commit comments