Commit 13a5dd2
committed
bug #62692 [FrameworkBundle] Enable console profiling only if the console is actually available (dbu)
This PR was merged into the 7.4 branch.
Discussion
----------
[FrameworkBundle] Enable console profiling only if the console is actually available
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
The FrameworkExtension is generally aware that symfony/console is an optional dependency, but when the profiler is loaded, it loads the console profiler unconditionally. this has been broken [when the check for CliRequest::class was removed](ea5a3cc) but not replaced with an other check for availability of the console
Commits
-------
5ab5322 only load console profiling if console is actually availableFile tree
1 file changed
+2
-2
lines changed- src/Symfony/Bundle/FrameworkBundle/DependencyInjection
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
| 649 | + | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | | - | |
| 1081 | + | |
1082 | 1082 | | |
1083 | 1083 | | |
1084 | 1084 | | |
| |||
0 commit comments