You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few phpunit rectors do not seem to be able to handle method calls and instead throw an \Rector\Core\Exception\ShouldNotHappenException with the message Name called on "PhpParser\Node\Expr\MethodCall" is not possible. Use $this->getName($node->name) instead
These include but may not be limited to:
Bug Report
A few phpunit rectors do not seem to be able to handle method calls and instead throw an
\Rector\Core\Exception\ShouldNotHappenException
with the messageName called on "PhpParser\Node\Expr\MethodCall" is not possible. Use $this->getName($node->name) instead
These include but may not be limited to:
Minimal PHP Code Causing Issue
https://getrector.org/demo/e3abd896-bd98-4f5a-ad71-dc097a1cbdd3
Expected Behaviour
The rector does not throw an exception and also does not change the code (similar to how the named rectors already skip static methods)
The text was updated successfully, but these errors were encountered: