You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS: only if calling context (e.g. class) has namespace. In global namespace class function call detected at both cases.
PPS: oops, my problem with function_call analyser, but looks like related bug.
When calling functions from within a namespace, the parser does not know at compile time if the function is defined in the current namespace or if the global function will be used.
Since deptrac does not run your code, only parses it (similar to "compile"), it has the same limitation. Therefore the only option is to use FQN.
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: