Rector run Failed:

{ "totals": { "changed_files": 0, "errors": 1 }, "errors": [ { "message": "System error: \"Unsupported operand types: string & int\"\nRun Rector with \"--debug\" option and post the report here: https://github.com/rectorphp/rector/issues/new", "file": "/var/www/storage/demo/hrbelr0t9f1yohqpt7hi/rector_analyzed_file.php", "line": 84 } ] }

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

PHP snippet to change
Config  rector.php
Rector version: 6d81ea - released at 2026-02-01 00:55