Symfony5 support #113
Labels
bug
Something isn't working
CH
Community Hero
help wanted
Extra attention is wanted. We would love community assistance!
Summary
The NR php agent supports Symfony framework from version 1 to 4. Since version 5, some breaking changes may prevent NR extension to report all expected information. Is SF5 support in your Roadmap?
Desired Behavior
Possible Solution
SF5 replaces the
ExceptionListener
class byErrorListener
(see UPGRADE instructions). Unfortunately, NR extension is explicitly looking forExceptionListener
class, to wrap it and report exceptions.newrelic-php-agent/agent/fw_symfony4.c
Lines 184 to 187 in 3f93ee4
By detecting SF5 framework, we could change wrapped function… if I understand the code correctly 😅
Additional context
None.
Thanks for your work 👍
The text was updated successfully, but these errors were encountered: