Skip to content

fatal error after importNames() #8148

@staabm

Description

@staabm

Bug Report

Subject Details
Rector version dev-main

Minimal PHP Code Causing Issue

https://getrector.com/demo/aa739bd2-ee2a-4e79-ae69-138c02e9f1ea


the error reported is not related to the rule configured, but running the sandbox without any rule leads to

grafik

therefore I picked a arbitrary rule

Expected Behaviour

rector should not produce new code, which fatal errors - see https://3v4l.org/eAZRa

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions