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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MonologBridge] Fix compatibility of ServerLogHandler with Monolog 2 #34697
Conversation
If we can prevent the BC break, it's better, isn't it? |
Done |
I fail to see how this prevents the BC break when Monolog 2 is installed. In that case we still add the return type declaration. |
In Monolog 2, the interfaces If you don't ilmplement them, things won't behave as expected Your PR has a bug, as the method
the BC break is coming from |
sounds reasonable 👍 |
Thank you @jderusse. |
… Monolog 2 (jderusse) This PR was merged into the 5.0 branch. Discussion ---------- [MonologBridge] Fix compatibility of ServerLogHandler with Monolog 2 | Q | A | ------------- | --- | Branch? | 5.0 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #34520 | License | MIT | Doc PR | NA This is an alternative to #34521 that keep compatibility with "processors" and "formaters". Commits ------- bdb10f7 Fix compatibility with Monolog 2
This PR was merged into the 4.3 branch. Discussion ---------- [MonologBridge] Add test on ServerLogHandler | Q | A | ------------- | --- | Branch? | 5.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | / | License | MIT | Doc PR | / After writing #34697 (comment) I realized that ServerLogHandler wasn't tested. Tell me if it's a BugFix and should be rebased on 4.3 Commits ------- 8c7947f Add test on ServerLogHandler
This is an alternative to #34521 that keep compatibility with "processors" and "formaters".