Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[MonologBridge] Add ability to react to console input being interactive or not#59955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.4
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedMar 11, 2025
It looks like you unchecked the "Allow edits from maintainer" box. That is fine, but please note that if you have multiple commits, you'll need to squash your commits into one before this can be merged. Or, you can check the "Allow edits from maintainers" box and the maintainer can squash for you. Cheers! Carsonbot |
Uh oh!
There was an error while loading.Please reload this page.
4ef2980
to5ac3f1d
Compare
Yes, this is expected to be 100% BC, it's opt-in for 7.x for sure, maybe it makes sense to change that for 8.x, but that's not up to me. |
5ac3f1d
to0fbbc35
CompareUh oh!
There was an error while loading.Please reload this page.
Config partsymfony/monolog-bundle#504 |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
0fbbc35
toa17b916
Compareprivate function isInteractiveOnlyEnabled(): bool | ||
{ | ||
return $this->interactiveOnly && $this->input && $this->input->isInteractive(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Why do we need theinteractiveOnly
flag? Is determining if the console is interactive via the input not enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The input will always be injected, but you opt in to "interactive only" mode via config, see#58715 for an example, it would be a BC break without it.
See#58715 for example.