Made package symfony 2.3 compatible