-
Notifications
You must be signed in to change notification settings - Fork 51
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
Symfony/event-dispatcher 5.1.0 not compatible #93
Comments
I'm running into the same issue with Symfony 6.x:
|
With Symfony/event-dispatcher:5.1.0 I experienced the following error:
"PHP Fatal error: Uncaught Error: Class 'Symfony\Component\EventDispatcher\Event' not found in .\vendor\ringcentral\ringcentral-php\src\Subscription\Events\NotificationEvent.php:7"
event-dispatcher v4.3.0 states:
"deprecated the Event class, use Symfony\Contracts\EventDispatcher\Event instead"
And v5.0.0:
"The Event class has been removed in favor of Symfony\Contracts\EventDispatcher\Event."
(Symfony/event-dispatcher change notes).
Requiring version 4.1.0 resolved the problem for me but ringcentral-php allows version 5.x in composer.json.
The text was updated successfully, but these errors were encountered: