Require doctrine/orm 2.3
Bugfix for moved MetadataRepositories in factory