Skip to content

Rector run Failed (online) #9017

@AvengerD

Description

@AvengerD

Bug Report

On 4 of my (several hundred) programs, I get this error message when running rector:

Rector run Failed:
{ "totals": { "changed_files": 0, "errors": 1 }, "errors": [ { "message": "System error: "Scope not available on "PhpParser\Node\Expr\FuncCall" node. Fix scope refresh on changed nodes first"\nRun Rector with "--debug" option and post the report here: https://github.com/rectorphp/rector/issues/new", "file": "/var/www/storage/demo/0dvhsm3elv36r867giht/rector_analyzed_file.php", "line": 19 } ] }

Minimal PHP Code Causing Issue

This is the smallest program of those 4, the others don't fit into the online version of rector...

(https://getrector.com/demo/a8cb44b5-bc23-46e2-af97-e7f669649445)

Expected Behaviour

No error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions