feature #15418 [Debug] Deprecate ExceptionHandler::createResponse (nicolas-grekas)
feature #15418 [Debug] Deprecate ExceptionHandler::createResponse (nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[Debug] Deprecate ExceptionHandler::createResponse

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

This does deprecate a behavior that might be specialized by someone somewhere, but I seriously doubt anyone did. It complicated the implementation for no gain IMHO.

Commits
-------

a4d2d31f [Debug] Deprecate ExceptionHandler::createResponse

patrick-mcdougle/symfony,guanhui07/symfony,backbone87/symfony,yinhe007/symfony,jpauli/symfony,BeastModeON/symfony,patrick-mcdougle/symfony,adamelso/symfony,jvasseur/symfony,mmauri04/symfony,fesor/symfony,adamelso/symfony,cvuorinen/symfony,patrick-mcdougle/symfony,Triiistan/symfony,guanhui07/symfony,aeoris/symfony,fyee/symfony,Tobion/symfony,mmauri04/symfony,yinhe007/symfony,webmozart/symfony,spreston/symfony,thunderer/symfony,lstrojny/symfony,xijia37/symfony,WouterJ/symfony,WouterJ/symfony,andreia/symfony,ewgRa/symfony,yethee/symfony,OndraM/symfony,alekitto/symfony,BeastModeON/symfony,apetitpa/symfony,geoffrey-brier/symfony,alebo/symfony,paradajozsef/symfony,shakaran/symfony,digitalkaoz/symfony,hacfi/symfony,rpg600/symfony,Pierstoval/symfony,oleg-andreyev/symfony,glensc/symfony,smatyas/symfony,MisatoTremor/symfony,believer-ufa/symfony,romainneutron/symfony,douglaslinsmeyer/symfony,gimler/symfony,mickaelandrieu/symfony,Tobion/symfony,xabbuh/symfony,lcp0578/symfony,curry684/symfony,wilderguzman/symfony,thunderer/symfony,ogizanagi/symfony,howtolearntocode/symfony,Aliance/symfony,rpg600/symfony,Koc/symfony,jzawadzki/symfony,MatTheCat/symfony,OndraM/symfony,imphil/symfony,jeremyFreeAgent/symfony,jzawadzki/symfony,yethee/symfony,oleg-andreyev/symfony,fabpot/symfony,OndraM/symfony,yinhe007/symfony,shakaran/symfony,thunderer/symfony,Nyholm/symfony,aecca/symfony,imphil/symfony,beoboo/symfony,dbu/symfony,gimler/symfony,iltar/symfony,glensc/symfony,csarrazi/symfony,georaldc/symfony,fyee/symfony,zilionis/symfony,WouterJ/symfony,imphil/symfony,zerkms/symfony,dbu/symfony,johnarevalo/symfony,natechicago/symfony,webmozart/symfony,WhiteEagle88/symfony,dkarvounaris/symfony,aecca/symfony,xijia37/symfony,dunglas/symfony,wilderguzman/symfony,beealone/symfony,backbone87/symfony,ksom/symfony,OskarStark/symfony,gnat42/symfony,dzuelke/symfony,analogic/symfony,cvuorinen/symfony,NiR-/symfony,Entropy03/symfony,curry684/symfony,docteurklein/symfony,dmaicher/symfony,symfony/symfony,damienalexandre/symfony,damienalexandre/symfony,zilionis/symfony,danionut90/symfony,geoffrey-brier/symfony,mickaelandrieu/symfony,hhamon/symfony,datagit/symfony,fesor/symfony,codeclimate-testing/symfony,ImaginationSydney/symfony,klandaika/symfony,lcp0578/symfony,danionut90/symfony,SaschaDens/symfony,mvhirsch/symfony,andrerom/symfony,johnarevalo/symfony,hichammoad/symfony,nakashu/symfony,chalasr/symfony,tPl0ch/symfony,fyee/symfony,beealone/symfony,lyrixx/symfony,danionut90/symfony,georaldc/symfony,ajgarlag/symfony,jjanvier/symfony,michaelperrin/symfony,danionut90/symfony,yethee/symfony,believer-ufa/symfony,mmauri04/symfony,Faisalawanisee/symfony,EVODelavega/symfony,ivanovnickolay/symfony,danilogiacomi/symfony,MisatoTremor/symfony,adamelso/symfony,romainneutron/symfony,sdiaz/symfony,mihai-stancu/symfony,lcp0578/symfony,tangkepeng/symfony,mihai-stancu/symfony,lepiaf/symfony,bocharsky-bw/symfony,zorn-v/symfony,SaschaDens/symfony,0x73/symfony,glensc/symfony,believer-ufa/symfony,sstok/symfony,d-ph/symfony,bburnichon/symfony,joelwurtz/symfony,realityking/symfony,mweimerskirch/symfony,ajgarlag/symfony,raziel057/symfony,stof/symfony,realityking/symfony,apfelbox/symfony,michaelperrin/symfony,peterjmit/symfony,garak/symfony,jakzal/symfony,okdana/symfony,jjanvier/symfony,Amo/symfony,nVitius/symfony,yinhe007/symfony,arduanov/symfony,nVitius/symfony,tekjava/symfony,fesor/symfony,Socratemus/symfony,d-ph/symfony,d-ph/symfony,maidmaid/symfony,deguif/symfony,thunderer/symfony,Einenlum/symfony,beoboo/symfony,dawehner/symfony,nVitius/symfony,mickaelandrieu/symfony,Ener-Getick/symfony,jpauli/symfony,ewgRa/symfony,alebo/symfony,raziel057/symfony,tPl0ch/symfony,voronkovich/symfony,yceruto/symfony,jameshalsall/symfony,Ener-Getick/symfony,beealone/symfony,lstrojny/symfony,pamil/symfony,voronkovich/symfony,codeclimate-testing/symfony,Strate/symfony,ImaginationSydney/symfony,unexge/symfony,ro0NL/symfony,datagit/symfony,johnarevalo/symfony,OskarStark/symfony,moycarretero/behat,alcohol/symfony,danilogiacomi/symfony,owyowoo/symfony,superdav42/symfony,datagit/symfony,thunderer/symfony,michaelperrin/symfony,GuilhemN/symfony,gonzalovilaseca/symfony,linovarona/symfony,zorn-v/symfony,bendavies/symfony,sgehrig/symfony,druid628/symfony,howtolearntocode/symfony,believer-ufa/symfony,aecca/symfony,0x73/symfony,mweimerskirch/symfony,shieldo/symfony,Triiistan/symfony,Pierstoval/symfony,Slamdunk/symfony,okdana/symfony,Nyholm/symfony,derrabus/symfony,arjenm/symfony,stof/symfony,adamelso/symfony,ctrl-f5/symfony,Einenlum/symfony,romainneutron/symfony,alcohol/symfony,chrisguitarguy/symfony,jderusse/symfony,guanhui07/symfony,bocharsky-bw/symfony,owyowoo/symfony,maidmaid/symfony,ksom/symfony,localheinz/symfony,codeclimate-testing/symfony,jderusse/symfony,analogic/symfony,shieldo/symfony,pix-art/symfony,sdiaz/symfony,douglaslinsmeyer/symfony,madflow/symfony,bocharsky-bw/symfony,Taluu/symfony,chalasr/symfony,peterjmit/symfony,rmed19/symfony,tangkepeng/symfony,teohhanhui/symfony,backbone87/symfony,weaverryan/symfony,madflow/symfony,jelte/symfony,moycarretero/behat,dawehner/symfony,Faisalawanisee/symfony,mmauri04/symfony,chrisguitarguy/symfony,hason/symfony,yinhe007/symfony,shakaran/symfony,ChMat/symfony,dzuelke/symfony,bocharsky-bw/symfony,teohhanhui/symfony,jpauli/symfony,nakashu/symfony,superdav42/symfony,calm10/Symfony2,deciament/symfony,patrick-mcdougle/symfony,chrisguitarguy/symfony,nicolas-grekas/symfony,xijia37/symfony,beoboo/symfony,Koc/symfony,digitalkaoz/symfony,lemoinem/symfony,peterrehm/symfony,dawehner/symfony,wilderguzman/symfony,xabbuh/symfony,tecnocat/symfony,tgalopin/symfony,Deamon/symfony,yethee/symfony,mickaelandrieu/symfony,mpdude/symfony,pix-art/symfony,Simperfit/symfony,tecnocat/symfony,nasimnabavi/symfony,fabpot/symfony,danilogiacomi/symfony,cvuorinen/symfony,tucksaun/symfony,hhamon/symfony,kbond/symfony,pamil/symfony,mvhirsch/symfony,dbu/symfony,dosten/symfony,stof/symfony,ImaginationSydney/symfony,HeahDude/symfony,jvasseur/symfony,tangkepeng/symfony,derrabus/symfony,mpdude/symfony,e-moe/symfony,jeremyFreeAgent/symfony,peterrehm/symfony,joelwurtz/symfony,ewgRa/symfony,vincentaubert/symfony,jpauli/symfony,MisatoTremor/symfony,nakashu/symfony,Strate/symfony,jjanvier/symfony,1ed/symfony,realityking/symfony,digitalkaoz/symfony,gnat42/symfony,EVODelavega/symfony,dunglas/symfony,aecca/symfony,alcohol/symfony,joelwurtz/symfony,havvg/symfony,ImaginationSydney/symfony,yethee/symfony,derrabus/symfony,ewgRa/symfony,gencer/symfony,Pierstoval/symfony,symfony/symfony,lyrixx/symfony,calm10/Symfony2,jameshalsall/symfony,analogic/symfony,frankdejonge/symfony,hichammoad/symfony,zerkms/symfony,damienalexandre/symfony,mimaidms/symfony,moycarretero/behat,dmaicher/symfony,Koc/symfony,ro0NL/symfony,mnapoli/symfony,dosten/symfony,howtolearntocode/symfony,EVODelavega/symfony,mnapoli/symfony,datagit/symfony,cvuorinen/symfony,dmaicher/symfony,HeahDude/symfony,Entropy03/symfony,gonzalovilaseca/symfony,apetitpa/symfony,lepiaf/symfony,chalasr/symfony,weaverryan/symfony,aecca/symfony,sroze/symfony,natechicago/symfony,jelte/symfony,mmauri04/symfony,c960657/symfony,aeoris/symfony,Ocramius/symfony,klandaika/symfony,ivanovnickolay/symfony,tPl0ch/symfony,ChMat/symfony,ro0NL/symfony,localheinz/symfony,frankdejonge/symfony,Padam87/symfony,jameshalsall/symfony,arduanov/symfony,superdav42/symfony,sroze/symfony,nVitius/symfony,OskarStark/symfony,Ocramius/symfony,wilderguzman/symfony,lemoinem/symfony,geoffrey-brier/symfony,vlajos/symfony,jeremyFreeAgent/symfony,hason/symfony,Nyholm/symfony,Tobion/symfony,zorn-v/symfony,hichammoad/symfony,ogizanagi/symfony,HeahDude/symfony,tecnocat/symfony,mimaidms/symfony,Slamdunk/symfony,oleg-andreyev/symfony,mvhirsch/symfony,ksom/symfony,SofHad/symfony,tPl0ch/symfony,mnapoli/symfony,mpdude/symfony,havvg/symfony,MisatoTremor/symfony,GuilhemN/symfony,madflow/symfony,rmed19/symfony,deciament/symfony,DavidGarciaCat/symfony,sdiaz/symfony,jelte/symfony,Engerim/symfony,believer-ufa/symfony,SaschaDens/symfony,kbond/symfony,nasimnabavi/symfony,mickaelandrieu/symfony,moycarretero/behat,aeoris/symfony,SofHad/symfony,glensc/symfony,GuilhemN/symfony,dzuelke/symfony,bendavies/symfony,OndraM/symfony,danilogiacomi/symfony,jakzal/symfony,NiR-/symfony,mnapoli/symfony,lemoinem/symfony,moycarretero/behat,analogic/symfony,maidmaid/symfony,unexge/symfony,OskarStark/symfony,apfelbox/symfony,tekjava/symfony,howtolearntocode/symfony,rquadling/symfony,andrerom/symfony,johnarevalo/symfony,MisatoTremor/symfony,josephdpurcell/symfony,havvg/symfony,0x73/symfony,phramz/symfony,fabpot/symfony,lepiaf/symfony,Engerim/symfony,EVODelavega/symfony,Ocramius/symfony,klandaika/symfony,deguif/symfony,weaverryan/symfony,andrerom/symfony,superdav42/symfony,SofHad/symfony,jeremyFreeAgent/symfony,deciament/symfony,garak/symfony,c960657/symfony,neemzy/symfony,xabbuh/symfony,zcodes/symfony,druid628/symfony,oleg-andreyev/symfony,dmaicher/symfony,realityking/symfony,apetitpa/symfony,realityking/symfony,zerkms/symfony,bburnichon/symfony,smatyas/symfony,yceruto/symfony,Simperfit/symfony,analogic/symfony,alcohol/symfony,ivanovnickolay/symfony,ewgRa/symfony,0x73/symfony,unexge/symfony,csarrazi/symfony,arjenm/symfony,webmozart/symfony,peterrehm/symfony,Socratemus/symfony,docteurklein/symfony,tangkepeng/symfony,sstok/symfony,dunglas/symfony,nasimnabavi/symfony,ivanovnickolay/symfony,MisatoTremor/symfony,linovarona/symfony,imphil/symfony,ragboyjr/symfony,Faisalawanisee/symfony,natechicago/symfony,sroze/symfony,Simperfit/symfony,iltar/symfony,calm10/Symfony2,arduanov/symfony,Tobion/symfony,pyrech/symfony,klandaika/symfony,peterrehm/symfony,geoffrey-brier/symfony,apetitpa/symfony,pyrech/symfony,andreia/symfony,dawehner/symfony,mweimerskirch/symfony,HeahDude/symfony,ChMat/symfony,ChMat/symfony,gnat42/symfony,Amo/symfony,romainneutron/symfony,jelte/symfony,e-moe/symfony,SofHad/symfony,douglaslinsmeyer/symfony,apfelbox/symfony,vlajos/symfony,1ed/symfony,Entropy03/symfony,Deamon/symfony,xijia37/symfony,ctrl-f5/symfony,smatyas/symfony,Amo/symfony,k0pernikus/symfony,neemzy/symfony,Ocramius/symfony,tPl0ch/symfony,sstok/symfony,vincentaubert/symfony,pix-art/symfony,Padam87/symfony,Triiistan/symfony,GuilhemN/symfony,pamil/symfony,mvhirsch/symfony,k0pernikus/symfony,mimaidms/symfony,romaricdrigon/symfony,fesor/symfony,rquadling/symfony,imphil/symfony,lcp0578/symfony,rmed19/symfony,Deamon/symfony,alebo/symfony,superdav42/symfony,Padam87/symfony,pyrech/symfony,georaldc/symfony,shieldo/symfony,curry684/symfony,douglaslinsmeyer/symfony,smatyas/symfony,NiR-/symfony,rpg600/symfony,Triiistan/symfony,fyee/symfony,zilionis/symfony,maidmaid/symfony,ro0NL/symfony,Simperfit/symfony,rpg600/symfony,curry684/symfony,ksom/symfony,beoboo/symfony,rmed19/symfony,vlajos/symfony,gonzalovilaseca/symfony,jean-gui/symfony,pyrech/symfony,lemoinem/symfony,zcodes/symfony,GuilhemN/symfony,raziel057/symfony,Ener-Getick/symfony,digitalkaoz/symfony,spreston/symfony,arjenm/symfony,pierredup/symfony,symfony/symfony,Deamon/symfony,Engerim/symfony,dzuelke/symfony,docteurklein/symfony,mihai-stancu/symfony,ragboyjr/symfony,sstok/symfony,linovarona/symfony,codeclimate-testing/symfony,tecnocat/symfony,xijia37/symfony,phramz/symfony,ragboyjr/symfony,andreia/symfony,teohhanhui/symfony,Taluu/symfony,howtolearntocode/symfony,gonzalovilaseca/symfony,arjenm/symfony,pierredup/symfony,nakashu/symfony,derrabus/symfony,georaldc/symfony,romaricdrigon/symfony,Simperfit/symfony,hhamon/symfony,Einenlum/symfony,arduanov/symfony,ctrl-f5/symfony,Slamdunk/symfony,mihai-stancu/symfony,Amo/symfony,Ener-Getick/symfony,sdiaz/symfony,guanhui07/symfony,phramz/symfony,dosten/symfony,ImaginationSydney/symfony,natechicago/symfony,hacfi/symfony,beoboo/symfony,mweimerskirch/symfony,zilionis/symfony,peterjmit/symfony,natechicago/symfony,MatTheCat/symfony,1ed/symfony,mihai-stancu/symfony,tangkepeng/symfony,rquadling/symfony,druid628/symfony,d-ph/symfony,okdana/symfony,jakzal/symfony,rquadling/symfony,deguif/symfony,xabbuh/symfony,alekitto/symfony,mimaidms/symfony,cvuorinen/symfony,realityking/symfony,datagit/symfony,sgehrig/symfony,lemoinem/symfony,yceruto/symfony,adamelso/symfony,calm10/Symfony2,jvasseur/symfony,OndraM/symfony,jjanvier/symfony,bendavies/symfony,georaldc/symfony,frankdejonge/symfony,kbond/symfony,patrick-mcdougle/symfony,vlajos/symfony,rpg600/symfony,gnat42/symfony,calm10/Symfony2,dkarvounaris/symfony,shakaran/symfony,georaldc/symfony,jakzal/symfony,spreston/symfony,ChMat/symfony,tekjava/symfony,hichammoad/symfony,shieldo/symfony,ajgarlag/symfony,Taluu/symfony,Deamon/symfony,lyrixx/symfony,spreston/symfony,zilionis/symfony,guanhui07/symfony,e-moe/symfony,Koc/symfony,dosten/symfony,neemzy/symfony,tgalopin/symfony,owyowoo/symfony,garak/symfony,garak/symfony,Pierstoval/symfony,SaschaDens/symfony,MatTheCat/symfony,ksom/symfony,tgalopin/symfony,ogizanagi/symfony,shakaran/symfony,alekitto/symfony,beealone/symfony,fabpot/symfony,nVitius/symfony,apfelbox/symfony,mnapoli/symfony,hacfi/symfony,bburnichon/symfony,Faisalawanisee/symfony,jelte/symfony,Einenlum/symfony,zorn-v/symfony,ewgRa/symfony,tgalopin/symfony,bendavies/symfony,NiR-/symfony,nasimnabavi/symfony,lstrojny/symfony,symfony/symfony,jameshalsall/symfony,dbu/symfony,alekitto/symfony,geoffrey-brier/symfony,peterjmit/symfony,peterjmit/symfony,jean-gui/symfony,Padam87/symfony,SaschaDens/symfony,Ocramius/symfony,druid628/symfony,e-moe/symfony,dzuelke/symfony,k0pernikus/symfony,havvg/symfony,lyrixx/symfony,Ener-Getick/symfony,jvasseur/symfony,digitalkaoz/symfony,gimler/symfony,rmed19/symfony,dbu/symfony,yceruto/symfony,Slamdunk/symfony,bocharsky-bw/symfony,andreia/symfony,nicolas-grekas/symfony,nicolas-grekas/symfony,raziel057/symfony,0x73/symfony,iltar/symfony,EVODelavega/symfony,apfelbox/symfony,SofHad/symfony,mweimerskirch/symfony,Nyholm/symfony,dosten/symfony,hichammoad/symfony,josephdpurcell/symfony,raziel057/symfony,lcp0578/symfony,webmozart/symfony,chrisguitarguy/symfony,docteurklein/symfony,Aliance/symfony,michaelperrin/symfony,phramz/symfony,voronkovich/symfony,csarrazi/symfony,weaverryan/symfony,vincentaubert/symfony,ogizanagi/symfony,alcohol/symfony,zcodes/symfony,ragboyjr/symfony,mvhirsch/symfony,zcodes/symfony,paradajozsef/symfony,spreston/symfony,paradajozsef/symfony,jean-gui/symfony,zerkms/symfony,danilogiacomi/symfony,tucksaun/symfony,gencer/symfony,wilderguzman/symfony,WhiteEagle88/symfony,owyowoo/symfony,jean-gui/symfony,druid628/symfony,BeastModeON/symfony,frankdejonge/symfony,johnarevalo/symfony,peterrehm/symfony,tucksaun/symfony,c960657/symfony,natechicago/symfony,chrisguitarguy/symfony,havvg/symfony,klandaika/symfony,smatyas/symfony,romaricdrigon/symfony,mimaidms/symfony,WhiteEagle88/symfony,BeastModeON/symfony,alebo/symfony,Ener-Getick/symfony,Entropy03/symfony,douglaslinsmeyer/symfony,jpauli/symfony,Amo/symfony,believer-ufa/symfony,alebo/symfony,Aliance/symfony,deciament/symfony,danionut90/symfony,josephdpurcell/symfony,jjanvier/symfony,damienalexandre/symfony,beealone/symfony,pix-art/symfony,localheinz/symfony,dkarvounaris/symfony,glensc/symfony,hhamon/symfony,pix-art/symfony,jderusse/symfony,deciament/symfony,Ocramius/symfony,Triiistan/symfony,linovarona/symfony,romainneutron/symfony,gencer/symfony,nakashu/symfony,Socratemus/symfony,webmozart/symfony,Taluu/symfony,dkarvounaris/symfony,nicolas-grekas/symfony,dkarvounaris/symfony,vincentaubert/symfony,madflow/symfony,pierredup/symfony,bburnichon/symfony,Faisalawanisee/symfony,voronkovich/symfony,sstok/symfony,linovarona/symfony,tekjava/symfony,vlajos/symfony,ivanovnickolay/symfony,jameshalsall/symfony,madflow/symfony,k0pernikus/symfony,pamil/symfony,BeastModeON/symfony,localheinz/symfony,k0pernikus/symfony,bburnichon/symfony,sroze/symfony,sgehrig/symfony,c960657/symfony,ctrl-f5/symfony,chalasr/symfony,Socratemus/symfony,tucksaun/symfony,NiR-/symfony,sgehrig/symfony,Strate/symfony,jeremyFreeAgent/symfony,sdiaz/symfony,andrerom/symfony,pix-art/symfony,stof/symfony,joelwurtz/symfony,owyowoo/symfony,dawehner/symfony,docteurklein/symfony,mpdude/symfony,tekjava/symfony,jzawadzki/symfony,jderusse/symfony,tecnocat/symfony,fesor/symfony,fyee/symfony,jpauli/symfony,Socratemus/symfony,Padam87/symfony,unexge/symfony,1ed/symfony,DavidGarciaCat/symfony,Entropy03/symfony,pierredup/symfony,kbond/symfony,ajgarlag/symfony,danionut90/symfony,teohhanhui/symfony,deguif/symfony,unexge/symfony,arduanov/symfony,geoffrey-brier/symfony,rquadling/symfony,gimler/symfony,iltar/symfony,ctrl-f5/symfony,superdav42/symfony,romaricdrigon/symfony,hason/symfony,paradajozsef/symfony,DavidGarciaCat/symfony,MatTheCat/symfony