-
-
Notifications
You must be signed in to change notification settings - Fork 19
Fix variable named function calls #12
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
Conversation
Thank you! |
In addition to the !empty check? or instead of? (not possible, since this will cause a PHP notice) |
Okay. Then please add a test that fails without this PR. |
Sorry, no idea how to do that, I'm not a developer. |
TBH This codebase has many-many problems. |
Indeed
|
Please use |
Thank you for opening this PR! |
Even when doing The way I did is the fast way to ensure we don't get any notice from there and it will not fail silently. |
Please take a look at Let's go with |
Fix for: $my_function = 'foo_bar'; $my_function();
Changed it now, so it's ready to merge. |
Fix for: