rectorphp / rector-symfony

Rector upgrade rules for Symfony
http://getrector.com
MIT License
179 stars 86 forks source link

Do not convert to array Process->setInput() #647

Closed refsz closed 3 weeks ago

refsz commented 2 months ago

Corrects the problem introduced #646

Closes https://github.com/rectorphp/rector-symfony/issues/646

samsonasik commented 2 months ago

I think definition should be the other way around, instead of define the excluded method, define the will be processed method instead, so new method will not automatically transformed

samsonasik commented 3 weeks ago

I verified that pass array on setInput() will got error:

 "Symfony\Component\Process\Process::setInput" only accepts strings, Traversable objects or stream resources. 
samsonasik commented 3 weeks ago

Thank you @refsz