bug #34981 stop using deprecated Doctrine persistence classes (xabbuh)
bug #34981 stop using deprecated Doctrine persistence classes (xabbuh)

This PR was merged into the 3.4 branch.

Discussion
----------

stop using deprecated Doctrine persistence classes

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

4db5f022a1 stop using deprecated Doctrine persistence classes

curry684/symfony,Slamdunk/symfony,alekitto/symfony,alekitto/symfony,mweimerskirch/symfony,Taluu/symfony,zerkms/symfony,garak/symfony,smatyas/symfony,mnapoli/symfony,shieldo/symfony,fabpot/symfony,kbond/symfony,pierredup/symfony,maidmaid/symfony,Slamdunk/symfony,voronkovich/symfony,gonzalovilaseca/symfony,Taluu/symfony,oleg-andreyev/symfony,curry684/symfony,bendavies/symfony,stof/symfony,d-ph/symfony,Nyholm/symfony,xabbuh/symfony,pyrech/symfony,lstrojny/symfony,zerkms/symfony,nicolas-grekas/symfony,Koc/symfony,chalasr/symfony,lyrixx/symfony,Koc/symfony,pierredup/symfony,kbond/symfony,sgehrig/symfony,dmaicher/symfony,HeahDude/symfony,kbond/symfony,phramz/symfony,alekitto/symfony,jvasseur/symfony,mweimerskirch/symfony,mpdude/symfony,garak/symfony,Slamdunk/symfony,paradajozsef/symfony,sgehrig/symfony,zorn-v/symfony,1ed/symfony,1ed/symfony,mnapoli/symfony,jvasseur/symfony,derrabus/symfony,Tobion/symfony,mpdude/symfony,localheinz/symfony,localheinz/symfony,lyrixx/symfony,Koc/symfony,shieldo/symfony,lyrixx/symfony,Tobion/symfony,jakzal/symfony,d-ph/symfony,stof/symfony,voronkovich/symfony,ogizanagi/symfony,dmaicher/symfony,damienalexandre/symfony,stof/symfony,fabpot/symfony,nicolas-grekas/symfony,Simperfit/symfony,hhamon/symfony,Slamdunk/symfony,oleg-andreyev/symfony,lstrojny/symfony,xabbuh/symfony,HeahDude/symfony,ro0NL/symfony,MatTheCat/symfony,mpdude/symfony,smatyas/symfony,OskarStark/symfony,chalasr/symfony,zorn-v/symfony,hhamon/symfony,tucksaun/symfony,xabbuh/symfony,alekitto/symfony,derrabus/symfony,Simperfit/symfony,curry684/symfony,Nyholm/symfony,Deamon/symfony,curry684/symfony,shieldo/symfony,bendavies/symfony,symfony/symfony,mnapoli/symfony,smatyas/symfony,mnapoli/symfony,Nyholm/symfony,damienalexandre/symfony,ogizanagi/symfony,bendavies/symfony,tucksaun/symfony,tucksaun/symfony,symfony/symfony,MatTheCat/symfony,damienalexandre/symfony,Deamon/symfony,Simperfit/symfony,pierredup/symfony,mweimerskirch/symfony,gonzalovilaseca/symfony,jderusse/symfony,jakzal/symfony,hhamon/symfony,chalasr/symfony,Koc/symfony,voronkovich/symfony,pyrech/symfony,damienalexandre/symfony,tgalopin/symfony,voronkovich/symfony,zorn-v/symfony,Deamon/symfony,kbond/symfony,MatTheCat/symfony,derrabus/symfony,jakzal/symfony,mpdude/symfony,1ed/symfony,nicolas-grekas/symfony,OskarStark/symfony,fabpot/symfony,ragboyjr/symfony,ragboyjr/symfony,garak/symfony,localheinz/symfony,tucksaun/symfony,ro0NL/symfony,ro0NL/symfony,ro0NL/symfony,Deamon/symfony,oleg-andreyev/symfony,Tobion/symfony,gonzalovilaseca/symfony,dmaicher/symfony,bendavies/symfony,lyrixx/symfony,Taluu/symfony,d-ph/symfony,symfony/symfony,jakzal/symfony,jderusse/symfony,paradajozsef/symfony,ragboyjr/symfony,paradajozsef/symfony,Taluu/symfony,symfony/symfony,tgalopin/symfony,nicolas-grekas/symfony,OskarStark/symfony,localheinz/symfony,mweimerskirch/symfony,phramz/symfony,jderusse/symfony,fabpot/symfony,ragboyjr/symfony,xabbuh/symfony,chalasr/symfony,HeahDude/symfony,jvasseur/symfony,zerkms/symfony,Tobion/symfony,derrabus/symfony,smatyas/symfony,gonzalovilaseca/symfony,jderusse/symfony,oleg-andreyev/symfony,zorn-v/symfony,1ed/symfony,d-ph/symfony,garak/symfony,hhamon/symfony,OskarStark/symfony,HeahDude/symfony,stof/symfony,tgalopin/symfony,sgehrig/symfony,phramz/symfony,maidmaid/symfony,Nyholm/symfony,dmaicher/symfony,phramz/symfony,maidmaid/symfony,jvasseur/symfony,Simperfit/symfony,Simperfit/symfony,paradajozsef/symfony,tgalopin/symfony,ogizanagi/symfony,mnapoli/symfony,pierredup/symfony,maidmaid/symfony,pyrech/symfony,pyrech/symfony,smatyas/symfony,Deamon/symfony,sgehrig/symfony,zerkms/symfony,lstrojny/symfony,ogizanagi/symfony,mweimerskirch/symfony,MatTheCat/symfony,shieldo/symfony