Closed hanishsingla closed 4 years ago
Thanks for your report!
I am currently considering how to fix this for all supported Symfony versions. The interface has changed several times:
Currently I cannot invest any free time for this issue. Maybe you could provide a solution / pr?
Sure, I am working on it. Will send PR soon.
The master Branch has full Symfony 5 support now. I've done all changes and skip support for Symfony 2+3+4. I've released this changes with bundle Version 4.0.0.
But I also created the branch "3.x", where we can maintain Symfony 2 + 3 + 4.
So, for Symfony 5 use Flagception Bundle 4.0. For Symfony prior 5 use Flagception Bundle 3.0
Let me know if you find any mistakes. My tests were all successful. :-)
Compile Error: Declaration of Flagception\Bundle\FlagceptionBundle\Profiler\FeatureDataCollector::collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, ?Exception $exception = NULL) must be compatible with Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, ?Throwable $exception = NULL)