Issue #3229710 by yas: Change the deprecated class Symfony\Component\HttpKernel\Event\FilterResponseEvent to ResponseEvent