Find the best Rector rule to solve your problem. Searching through 675 rules.

Found 1 rule. That's the one:

StringToArrayArgumentProcessRector

Changes Process string argument to an array

 use Symfony\Component\Process\Process;
-$process = new Process('ls -l');
+$process = new Process(['ls', '-l']);