You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated composer with composer update.
I ran the command php ./vendor/bin/phpstan analyse -c phpstan.neon to analyse my code. I received an error on this Sebdesign\SM\Event\Dispatcher file. The methods no longer correspond to the Symfony update.
Note
This depreciation comes with the new version of Symfony e.g. symfony/event-dispatcher:7.0.2.
The text was updated successfully, but these errors were encountered:
LucasLaurens
changed the title
Declaration of addListener and addSubscriber Dispatcher must be compatible with Symfony EventDispatcherInterface interface
Declaration of methods from Dispatcher class must be compatible with Symfony EventDispatcherInterface interface
Jan 29, 2024
Context
I updated composer with
composer update
.I ran the command
php ./vendor/bin/phpstan analyse -c phpstan.neon
to analyse my code. I received an error on thisSebdesign\SM\Event\Dispatcher
file. The methods no longer correspond to the Symfony update.Note
This depreciation comes with the new version of Symfony e.g.
symfony/event-dispatcher:7.0.2
.The text was updated successfully, but these errors were encountered: