-
Notifications
You must be signed in to change notification settings - Fork 27
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
chore: support symfony 5 #75
Conversation
DataCollector::collect method signature change since SF 4.4
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.
Thanks 👌
I just wonder why are you dropping older symfony versions support in this PR?
using \Throwable
instead of \Exception
is not a breaking change for me since Throwable is wider than Exception 🤔
GetResponseForExceptionEvent replaced by ExceptionEvent; PostResponseEvent replaced by TerminateEvent;
Hi @Oliboy50, IMO it's a little bit difficult to keep support of Symfony versions before 4.4 but let's try :
I think it's better to allow recent applications to use this bundle but I am listening to you if you have any suggestions. |
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.
Indeed, full covariance started at php7.4, so you're right, we won't be able to keep symfony <4.4 support here
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.
👌
@Oliboy50 Ready for a new release ? |
.travis.yml
Outdated
jobs: | ||
exclude: | ||
- php: 7.1 | ||
env: SYMFONY_VERSION=5.*.* |
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.
Could you please add a new line at the end of this file 🙇
Are we ready for a new release ? |
thank you 👌 => https://packagist.org/packages/m6web/statsd-bundle#v4.0.0 |
DataCollector::collect
method signature change since SF 4.4@see symfony/symfony@ffcfdb4
Renamed events :
GetResponseForExceptionEvent
replaced byExceptionEvent
PostResponseEvent
replaced byTerminateEvent
Swap arguments of dispatch()
@see symfony/symfony@75369da
Use the spaceless filter instead of spaceless tag (since Twig 1.38)