Rector run Failed:

{ "totals": { "changed_files": 0, "errors": 1 }, "errors": [ { "message": "System error: \"Split extensions \"\" to multiple separated files first\"\nRun Rector with \"--debug\" option and post the report here: https://github.com/rectorphp/rector/issues/new", "file": "/var/www/src/../storage/demo/e7jdhlgyw1sfyj2dbt32/rector_analyzed_file.php", "line": 40 } ] }

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

PHP snippet to change
Config  rector.php
Rector version: 6a6047 - released at 2025-10-07 14:30