-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoUnsetOnPropertyFixer - fix for function call with class constant inside #4020
NoUnsetOnPropertyFixer - fix for function call with class constant inside #4020
Conversation
for ($index = 0; $index < $tokens->count(); ++$index) { | ||
if ('(' === $tokens[$index]->getContent()) { | ||
$index = $tokens->findBlockEnd( | ||
Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indenting is bit off here I think
looking good, please fix the CS minor, Travis failure is not related (existing test is to slow) |
Does this fix #3843 too? (Would be awesome 😉) |
Unfortunately no, I see a good test case there so will try to solve it as well. |
I guess we should mention here that this is being superseeded by #4022? 😉 |
Exactly |
No description provided.