swarrot / SwarrotBundle

A symfony bundle for swarrot integration
MIT License
89 stars 59 forks source link

Symfony 4.3 deprecations #159

Closed pvgnd closed 5 years ago

pvgnd commented 5 years ago

As of Symfony 4.3, the SwarrotBundle generates deprecation notices :

The "Swarrot\SwarrotBundle\Event\MessagePublishedEvent" class extends "Symfony\Component\EventDispatcher\Event" that is deprecated since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead.

Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead.

monsieurchico commented 5 years ago

up ?

odolbeau commented 5 years ago

up ?

Hi @monsieurchico I saw this issue, don't worry, you don't need to ping me another time with such a (useless) message, furthermore 10 days before the issue have been created.

Please keep in mind this is an open source project. Which means:

If you're interested by contributing, take a look at this interface to find some inspiration. :)

pvgnd commented 5 years ago

Hello @odolbeau,

How do you want to handle this change as the event name published will introduce a breaking change ?