Skip to content

Symfony/event-dispatcher 5.1.0 not compatible #93

Open
@mblock90

Description

@mblock90

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions