Find a Rector rule
Find the best Rector rule to solve your problem. Searching through 1005 rules.
Found 1 rule. That's the one: Clear
symfony/process
1 match
StringToArrayArgumentProcessRector
symfony/process >=4.2
Changes Process string argument to an array
use Symfony\Component\Process\Process;
-$process = new Process('ls -l');
+$process = new Process(['ls', '-l']);