Rector run Failed:

{ "totals": { "changed_files": 0, "errors": 1 }, "errors": [ { "message": "System error: \"Rector\\DeadCode\\Rector\\ClassMethod\\RemoveParentDelegatingConstructorRector::matchParentConstructorCallArgs(): Argument #1 ($stmt) must be of type PhpParser\\Node\\Stmt, null given, called in /var/www/vendor/rector/rector/rules/DeadCode/Rector/ClassMethod/RemoveParentDelegatingConstructorRector.php on line 100\"\nRun Rector with \"--debug\" option and post the report here: https://github.com/rectorphp/rector/issues/new", "file": "/var/www/storage/demo/b3jqw5l5nt5mm7h2wk8s/rector_analyzed_file.php", "line": 135 } ] }

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

PHP snippet to change
Config  rector.php
Rector version: e91db1 - released at 2026-01-03 00:21