Allow compatibility with Symfony 2.3

All tests passed.
Is any possible incompatibility with 2.3?