remove dependency on symfony 2.4