-
Notifications
You must be signed in to change notification settings - Fork 136
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
Does functionName
only support functions with namespaces?
#1412
Comments
I'm reproduce this issue today ( With
PS: only if calling context (e.g. class) has namespace. In global namespace class function call detected at both cases. |
This is a current limitation of PHP. From a currently discussed RFC for PHP: https://wiki.php.net/rfc/global_function_parser_directive:
Since |
Thanks for a good tool.
Does
functionName
only support functions with namespaces?I want to detect Laravel
request
helper defined in the global namespace with the following configuration:However, no
request()
is detected.When I write
\request()
it is detected.I am using
2.0.0.beta
.The text was updated successfully, but these errors were encountered: