minor #35044 [DoctrineBridge] Cleanup 3.4 legacy (ro0NL)
minor #35044 [DoctrineBridge] Cleanup 3.4 legacy (ro0NL)

This PR was merged into the 5.0 branch.

Discussion
----------

[DoctrineBridge] Cleanup 3.4 legacy

| Q             | A
| ------------- | ---
| Branch?       | 5.0
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #... <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too.)
 - Features and deprecations must be submitted against branch master.
-->

Commits
-------

6041be79c3 [DoctrineBridge] Cleanup 3.4 legacy

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