Run Rector on your code to see what it can do for you:

 {
     public function run(bool $param)
     {
-        $this->process(b: 1, a: 2);
+        $this->process(b: 1);
     }
 
     private function process($a, $b)
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: 13f7ab - released at 2026-01-07 13:19