Rector run Failed:

{ "totals": { "changed_files": 0, "errors": 1 }, "errors": [ { "message": "System error: \"Call to undefined method Rector\\PhpParser\\Printer\\BetterStandardPrinter::pPHPStan_Node_AlwaysRememberedExpr()\"\nRun Rector with \"--debug\" option and post the report here: https://github.com/rectorphp/rector/issues/new", "file": "/var/www/src/../storage/demo/0bj3slmoug9p0b72g9e6/rector_analyzed_file.php", "line": 487 } ] }

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

PHP snippet to change
Config  rector.php
Rector version: e040c5 - released at 2026-01-11 00:45