Fix deprecation issue

DataEvent has been deprecated in Symfony 2.1 and was removed in 2.3