added symfony 2.2 support