Closed
Description
Environment
Symfony-sentry version 4.1.1
PHP 8
Symfony 4 + Zend 2-3 (an application in the migration process)
Steps to Reproduce
After the migration to v4, I started getting the following exception during my application startup:
Cannot instantiate abstract class Zend\Diactoros\ServerRequestFactory
While this class exists, it is never used. Some old business logic still use Zend but the application is Symfony-first. That mean Symfony app is loaded always and then some Zend stuff may be executed if needed.
I didn't have this exception on the v3. How to fix it?