Fix symfony/console (optional) dependency for MonologBridge
Since278c26f589
, `ConsoleHandler` tries to pass a verbosity level into `Output::write()`. In order to make this work, the change749fba54f9
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... 🤷♂️ :
This commit is contained in:
parent
b4bbc254b5
commit
d6f5d6bccd
@ -27,11 +27,12 @@
|
|||||||
"symfony/var-dumper": "~3.3|~4.0"
|
"symfony/var-dumper": "~3.3|~4.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
|
"symfony/console": "<2.8",
|
||||||
"symfony/http-foundation": "<3.3"
|
"symfony/http-foundation": "<3.3"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"symfony/http-kernel": "For using the debugging handlers together with the response life cycle of the HTTP kernel.",
|
"symfony/http-kernel": "For using the debugging handlers together with the response life cycle of the HTTP kernel.",
|
||||||
"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.",
|
"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.",
|
||||||
"symfony/event-dispatcher": "Needed when using log messages in console commands.",
|
"symfony/event-dispatcher": "Needed when using log messages in console commands.",
|
||||||
"symfony/var-dumper": "For using the debugging handlers like the console handler or the log server handler."
|
"symfony/var-dumper": "For using the debugging handlers like the console handler or the log server handler."
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user