Rector run Failed:
{
"totals": {
"changed_files": 0,
"errors": 1
},
"errors": [
{
"message": "System error: \"PHPStan\\Analyser\\Fiber\\FiberNodeScopeResolver::callNodeCallback(): Argument #2 ($node) must be of type PhpParser\\Node, null given, called in phar:///var/www/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/NodeScopeResolver.php on line 2639\"\nRun Rector with \"--debug\" option and post the report here: https://github.com/rectorphp/rector/issues/new",
"file": "/var/www/storage/demo/ivdr7k9vr5wt39hwri5n/rector_analyzed_file.php",
"line": 24
}
]
}
Run Rector on your code to see what it can do for you: