3.1.x requires doctrine 2.4+