Added a check to support both the ORM 2.2 and 2.3
Added a check to support both the ORM 2.2 and 2.3

aplysie/DoctrineExtensions,eliberty/DoctrineExtensions,craue/DoctrineExtensions,stof/DoctrineExtensions,tomazahlin/DoctrineExtensions,jeroendesloovere/DoctrineExtensions,l3pp4rd/DoctrineExtensions,hhjcz/DoctrineExtensions,jmcclell/DoctrineExtensions,cmfcmf/DoctrineExtensions,mablae/DoctrineExtensions,notrix/DoctrineExtensions,nirav-programmer/DoctrineExtensions,birko/DoctrineExtensions,marc-j/DoctrineExtensions,teohhanhui/DoctrineExtensions,blazarecki/DoctrineExtensions,bendavies/DoctrineExtensions,bocharsky-bw/DoctrineExtensions,CiscoVE/DoctrineExtensions,lafourchette/DoctrineExtensions,SocialbitGmbH/DoctrineExtensions,akd3vs/DoctrineExtensions,pmishev/DoctrineExtensions,anesse/DoctrineExtensions,sroze/DoctrineExtensions,edigu/DoctrineExtensions,Viburnum/DoctrineExtensions,Padam87/DoctrineExtensions,Preis24/DoctrineExtensions,tyx/DoctrineExtensions,gadelkareem/DoctrineExtensions,aramalipoor/DoctrineExtensions,Engerim/DoctrineExtensions,rubenrua/DoctrineExtensions,lengpiseth/DoctrineExtensions