Skip to content
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

Open
mblock90 opened this issue Oct 14, 2020 · 1 comment
Open

Symfony/event-dispatcher 5.1.0 not compatible #93

mblock90 opened this issue Oct 14, 2020 · 1 comment

Comments

@mblock90
Copy link

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.

@RyanPaiva56
Copy link

RyanPaiva56 commented Dec 29, 2021

I'm running into the same issue with Symfony 6.x:

Problem 1
- ringcentral/ringcentral-php[2.2.0, ..., 2.2.3] require symfony/event-dispatcher ^2.7|^3.3.2|^4.0 -> found symfony/event-dispatcher[v2.7.0-BETA1, ..., 2.8.x-dev, v3.3.2, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v6.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- ringcentral/ringcentral-php[2.2.4, ..., 2.2.5] require symfony/event-dispatcher ^2|^3|^4|^5 -> found symfony/event-dispatcher[2.0.4, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but the package is fixed to v6.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires ringcentral/ringcentral-php ^2.2 -> satisfiable by ringcentral/ringcentral-php[2.2.0, ..., 2.2.5].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants