bug #28863 [Process] Allow to pass non-string arguments to Process (vudaltsov)
bug #28863 [Process] Allow to pass non-string arguments to Process (vudaltsov)

This PR was merged into the 4.1 branch.

Discussion
----------

[Process] Allow to pass non-string arguments to Process

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/issues/28609
| License       | MIT
| Doc PR        |

Sometimes you might pass integers, floats, nulls as command arguments to the Process constructor.
Before 4.0 and https://github.com/symfony/symfony/pull/24722 that worked fine. Now it throws because of an invalid type.

I think we can drop the type hint here safely and stringify the value implicitly in the method. That will be a little more convenient.

Commits
-------

acf8b8338a Remove Process::escapeArgument argument type hint

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