This is https://github.com/bugsnag/bugsnag-symfony/pull/147 rebased onto next, with some unit tests and a changelog entry. I've also attempted to simplify the nested conditionals that were getting somewhat complicated
I've added tests for the SymfonyRequest class, because there were no tests for it before now (other than indirectly in the Maze Runner suite). These fail when run with PHP 8.1 on next, proving the deprecation is fixed by this PR (e.g. see this failing run)
Goal
This is https://github.com/bugsnag/bugsnag-symfony/pull/147 rebased onto next, with some unit tests and a changelog entry. I've also attempted to simplify the nested conditionals that were getting somewhat complicated
I've added tests for the SymfonyRequest class, because there were no tests for it before now (other than indirectly in the Maze Runner suite). These fail when run with PHP 8.1 on
next
, proving the deprecation is fixed by this PR (e.g. see this failing run)