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

 {   
     public function testResizeHeight(): void
     {
-        $this->createImage(width: 20, height: 40);
+        $this->createImage(width: '20', height: 40);
     }
     
     public function createImage(
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: 78e99a - released at 2026-06-05 21:27