Skip to content

Improve $node name get on static or method call#3288

Merged
kodiakhq[bot] merged 1 commit intomasterfrom
naming-bug
May 1, 2020
Merged

Improve $node name get on static or method call#3288
kodiakhq[bot] merged 1 commit intomasterfrom
naming-bug

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented May 1, 2020

Before

[ERROR] Could not process "abz/SomeClass.php" file, due to:                                                            
         "Pick more specific node than "PhpParser\Node\Expr\MethodCall"

After

[ERROR] Could not process "abz/SomeClass.php" file, due to:                                                            
         "Pick more specific node than "PhpParser\Node\Expr\MethodCall", e.g. "$node->name"                             
                                                                                                                        
         Caused in "abz/SomeClass.php" file on line 9 on code "$this->foo()".     
         Look at "InnerRectorClass.php:35"

@kodiakhq kodiakhq bot merged commit 6d328a1 into master May 1, 2020
@kodiakhq kodiakhq bot deleted the naming-bug branch May 1, 2020 09:18
TomasVotruba added a commit that referenced this pull request Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant