eymengunay / EoHoneypotBundle

Honeypot type for Symfony forms

Home Page:https://github.com/eymengunay/EoHoneypotBundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`FilterResponseEvent` renamed to ResponseEvent

seho-nl opened this issue · comments

The implemented RedirectListener is not working anymore since Symfony 4.4+

Since Symfony 4.3, most of the event classes were renamed. The following old classes were deprecated:
...
FilterResponseEvent renamed to ResponseEvent

See: https://symfony.com/doc/4.3/components/http_kernel.html#creating-an-event-listener

Because version 2.0 suggests to support Symfony 5, this must be changed as well.

Hi @seho-nl,

thank you for the heads up! This is on me, I should have checked the last PR thoroughly but unfortunately I'm not actively using/developing for Symfony anymore and I missed this entirely.

Pinging @ehibes to see if they can push a fix for it.

No problem.
Made a pull request with the changes required. You can check it out.

Thank you @seho-nl! I have merged your PR and created v2.0.1