bug #25733 [HttpKernel] Fix compile error when a legacy container is fresh again (nicolas-grekas)
bug #25733 [HttpKernel] Fix compile error when a legacy container is fresh again (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[HttpKernel] Fix compile error when a legacy container is fresh again

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #25654
| License       | MIT
| Doc PR        | -

Noticed by @jpauli again: when reverting some configuration changes ends up generating the same container as the previously legacy one, the legacy flag should be removed.

Commits
-------

8c3eadb1b1 [HttpKernel] Fix compile error when a legacy container is fresh again

tucksaun/symfony,oleg-andreyev/symfony,hacfi/symfony,mweimerskirch/symfony,MatTheCat/symfony,yceruto/symfony,vincentaubert/symfony,tucksaun/symfony,andreia/symfony,pierredup/symfony,zorn-v/symfony,iltar/symfony,derrabus/symfony,symfony/symfony,mweimerskirch/symfony,c960657/symfony,weaverryan/symfony,bendavies/symfony,maidmaid/symfony,alekitto/symfony,lyrixx/symfony,zcodes/symfony,symfony/symfony,chalasr/symfony,bendavies/symfony,docteurklein/symfony,ajgarlag/symfony,OskarStark/symfony,andreia/symfony,localheinz/symfony,pamil/symfony,ogizanagi/symfony,xabbuh/symfony,HeahDude/symfony,derrabus/symfony,curry684/symfony,lyrixx/symfony,stof/symfony,OskarStark/symfony,Tobion/symfony,weaverryan/symfony,Deamon/symfony,sroze/symfony,joelwurtz/symfony,jvasseur/symfony,arjenm/symfony,Einenlum/symfony,frankdejonge/symfony,Taluu/symfony,alekitto/symfony,Koc/symfony,paradajozsef/symfony,paradajozsef/symfony,sgehrig/symfony,deguif/symfony,d-ph/symfony,nasimnabavi/symfony,shieldo/symfony,Taluu/symfony,jderusse/symfony,andrerom/symfony,Simperfit/symfony,gnat42/symfony,kbond/symfony,romaricdrigon/symfony,tgalopin/symfony,jean-gui/symfony,curry684/symfony,1ed/symfony,Koc/symfony,Einenlum/symfony,jderusse/symfony,shieldo/symfony,michaelperrin/symfony,gonzalovilaseca/symfony,joelwurtz/symfony,dmaicher/symfony,HeahDude/symfony,1ed/symfony,zerkms/symfony,andreia/symfony,lstrojny/symfony,ragboyjr/symfony,nasimnabavi/symfony,Slamdunk/symfony,Deamon/symfony,andreia/symfony,derrabus/symfony,bendavies/symfony,OskarStark/symfony,zerkms/symfony,romaricdrigon/symfony,jakzal/symfony,romaricdrigon/symfony,hacfi/symfony,alekitto/symfony,deguif/symfony,phramz/symfony,zcodes/symfony,zorn-v/symfony,apetitpa/symfony,bendavies/symfony,gimler/symfony,Tobion/symfony,smatyas/symfony,sroze/symfony,teohhanhui/symfony,xabbuh/symfony,maidmaid/symfony,zcodes/symfony,jean-gui/symfony,lyrixx/symfony,stof/symfony,Tobion/symfony,1ed/symfony,voronkovich/symfony,jvasseur/symfony,gnat42/symfony,damienalexandre/symfony,sroze/symfony,phramz/symfony,curry684/symfony,ragboyjr/symfony,Simperfit/symfony,localheinz/symfony,mpdude/symfony,c960657/symfony,mnapoli/symfony,alekitto/symfony,gnat42/symfony,Pierstoval/symfony,voronkovich/symfony,jderusse/symfony,Taluu/symfony,mpdude/symfony,symfony/symfony,paradajozsef/symfony,smatyas/symfony,arjenm/symfony,mweimerskirch/symfony,nicolas-grekas/symfony,pyrech/symfony,ogizanagi/symfony,ajgarlag/symfony,teohhanhui/symfony,vincentaubert/symfony,gimler/symfony,stof/symfony,pyrech/symfony,Koc/symfony,pyrech/symfony,michaelperrin/symfony,arjenm/symfony,smatyas/symfony,mnapoli/symfony,zerkms/symfony,mweimerskirch/symfony,mnapoli/symfony,mweimerskirch/symfony,fabpot/symfony,c960657/symfony,pamil/symfony,docteurklein/symfony,frankdejonge/symfony,yceruto/symfony,smatyas/symfony,Pierstoval/symfony,weaverryan/symfony,docteurklein/symfony,hhamon/symfony,Nyholm/symfony,maidmaid/symfony,hhamon/symfony,e-moe/symfony,michaelperrin/symfony,jean-gui/symfony,gonzalovilaseca/symfony,ogizanagi/symfony,nicolas-grekas/symfony,damienalexandre/symfony,mpdude/symfony,Einenlum/symfony,Simperfit/symfony,sgehrig/symfony,curry684/symfony,apetitpa/symfony,hhamon/symfony,weaverryan/symfony,docteurklein/symfony,arjenm/symfony,phramz/symfony,fabpot/symfony,Slamdunk/symfony,oleg-andreyev/symfony,symfony/symfony,Deamon/symfony,zerkms/symfony,ro0NL/symfony,lyrixx/symfony,Slamdunk/symfony,shieldo/symfony,jvasseur/symfony,fabpot/symfony,pierredup/symfony,paradajozsef/symfony,Nyholm/symfony,joelwurtz/symfony,Pierstoval/symfony,pyrech/symfony,gonzalovilaseca/symfony,smatyas/symfony,tgalopin/symfony,garak/symfony,sgehrig/symfony,derrabus/symfony,vincentaubert/symfony,nicolas-grekas/symfony,zorn-v/symfony,jakzal/symfony,nasimnabavi/symfony,dmaicher/symfony,mnapoli/symfony,e-moe/symfony,iltar/symfony,mpdude/symfony,nasimnabavi/symfony,HeahDude/symfony,Nyholm/symfony,vincentaubert/symfony,jakzal/symfony,fabpot/symfony,HeahDude/symfony,joelwurtz/symfony,OskarStark/symfony,andrerom/symfony,damienalexandre/symfony,iltar/symfony,iltar/symfony,Koc/symfony,dmaicher/symfony,nicolas-grekas/symfony,pierredup/symfony,maidmaid/symfony,garak/symfony,chalasr/symfony,pamil/symfony,gimler/symfony,Tobion/symfony,voronkovich/symfony,jakzal/symfony,1ed/symfony,hacfi/symfony,lstrojny/symfony,zcodes/symfony,andrerom/symfony,deguif/symfony,pamil/symfony,yceruto/symfony,localheinz/symfony,romaricdrigon/symfony,lstrojny/symfony,gnat42/symfony,deguif/symfony,Simperfit/symfony,phramz/symfony,Deamon/symfony,xabbuh/symfony,ogizanagi/symfony,ro0NL/symfony,d-ph/symfony,tucksaun/symfony,michaelperrin/symfony,voronkovich/symfony,ajgarlag/symfony,Einenlum/symfony,ro0NL/symfony,jvasseur/symfony,shieldo/symfony,ragboyjr/symfony,kbond/symfony,gimler/symfony,pierredup/symfony,Pierstoval/symfony,d-ph/symfony,stof/symfony,oleg-andreyev/symfony,frankdejonge/symfony,localheinz/symfony,ragboyjr/symfony,gonzalovilaseca/symfony,MatTheCat/symfony,MatTheCat/symfony,yceruto/symfony,andrerom/symfony,tgalopin/symfony,ajgarlag/symfony,teohhanhui/symfony,MatTheCat/symfony,kbond/symfony,apetitpa/symfony,frankdejonge/symfony,tucksaun/symfony,chalasr/symfony,apetitpa/symfony,Deamon/symfony,chalasr/symfony,Simperfit/symfony,Taluu/symfony,zorn-v/symfony,jean-gui/symfony,mnapoli/symfony,ro0NL/symfony,oleg-andreyev/symfony,tgalopin/symfony,e-moe/symfony,kbond/symfony,Slamdunk/symfony,dmaicher/symfony,e-moe/symfony,sgehrig/symfony,damienalexandre/symfony,xabbuh/symfony,jderusse/symfony,hhamon/symfony,Nyholm/symfony,teohhanhui/symfony,d-ph/symfony,garak/symfony,c960657/symfony,sroze/symfony,garak/symfony,docteurklein/symfony