Open mblock90 opened 4 years ago
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].
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.