Fixed configuration for symfony >=2.3.x