-
Notifications
You must be signed in to change notification settings - Fork 16
sitePassByRefFunctions Doesn't support functions with namespaces #349
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
Comments
oh, that's a good point. |
🤔 Tell me more about these cases. I can understand this one since it's explicitly part of the option, but I don't grok the other two.
|
Sorry for the confusion, I think that's more something that implicitly happened with my function, but on further reflection it's not guaranteed that a variable passed by ref will always be set, so ignore those :) |
Nice! Then I think #351 will fix this issue. |
Awesome, thanks for the speedy fix! :) |
One thing to note: even with this change, if you list |
Currently the sniff customisation property for sitePassByRefFunctions only supports standard functions, not namespaced functions.
It will work if the namespace is omitted, but if two namespaces contain the same function name, it will apply to both.
This works:
but applies to all of these:
This doesn't work:
It would be great if namespaces were supported so we could be more specific about the functions :)
The text was updated successfully, but these errors were encountered: