Declaration of methods from Dispatcher class must be compatible with Symfony EventDispatcherInterface interface
LucasLaurens opened this issue · 3 comments
LucasLaurens commented
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 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
.
LucasLaurens commented
I could create a PULL REQUEST to see if there are any other similar issues. However, I don't have the permission yet.
LucasLaurens commented
I think PR #69 addresses this issue already 👍
You're absolutely right. That's exactly right. I hadn't seen that much for myself. Thank you. So I'll wait for the PR to be validated.