HoneyBadger refactor with Symfony