Rector run Failed:

{ "totals": { "changed_files": 0, "errors": 1 }, "errors": [ { "message": "System error: \"Typed property PHPStan\\Type\\StaticType::$classReflection must not be accessed before initialization\"\nRun Rector with \"--debug\" option and post the report here: https://github.com/rectorphp/rector/issues/new", "file": "/var/www/storage/demo/mcpbk8ww2d7hx921rnd6/rector_analyzed_file.php", "line": 71 } ] }

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

PHP snippet to change
Config  rector.php
Rector version: 0594c1 - released at 2026-05-08 19:57