Closed refsz closed 3 weeks 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
I verified that pass array on setInput()
will got error:
"Symfony\Component\Process\Process::setInput" only accepts strings, Traversable objects or stream resources.
Thank you @refsz
Corrects the problem introduced #646
Closes https://github.com/rectorphp/rector-symfony/issues/646