You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix symfony/console (optional) dependency for MonologBridge
Since 278c26f, `ConsoleHandler` tries to pass a verbosity level into `Output::write()`.
In order to make this work, the change 749fba5 is required which was first released in 2.8.0.
When using MonologBridge ^3.3 with a lower version of symfony/console than 2.8, an `InvalidArgumentException` with the message `Unknown output type given` will be thrown.
Not sure how to add a test for this... 🤷♂️ :
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/composer.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,12 @@
27
27
"symfony/var-dumper": "~3.3|~4.0"
28
28
},
29
29
"conflict": {
30
+
"symfony/console": "<2.8",
30
31
"symfony/http-foundation": "<3.3"
31
32
},
32
33
"suggest": {
33
34
"symfony/http-kernel": "For using the debugging handlers together with the response life cycle of the HTTP kernel.",
34
-
"symfony/console": "For the possibility to show log messages in console commands depending on verbosity settings. You need version ~2.3 of the console for it.",
35
+
"symfony/console": "For the possibility to show log messages in console commands depending on verbosity settings. You need version ^2.8 of the console for it.",
35
36
"symfony/event-dispatcher": "Needed when using log messages in console commands.",
36
37
"symfony/var-dumper": "For using the debugging handlers like the console handler or the log server handler."
0 commit comments