restrict doctrine commons to 2.*