use doctrine 2.4.x