Cannot find reset function with functionName collector
Hi! Thank you for the library.
It seems that
- name: reset
collectors:
- type: functionName
regex: ^reset$
cannot find a reset function.
Am I doing smth wrong?
Don't quote me on this, but I think I remember that we do not have support default PHP functions yet.
Yes, we only search for function definitions available to us. Maybe using something like JetBrains/phpstorm-stubs could be used to provide them.
Looked into it and we don't even support internal PHP classes either based on the code. The only thing we do is ignore them when they are the target of dependency. But they cannot be collected by a collector either.
I think a reasonable solution would be something like a PHPInternalCollector. WDYT?
@patrickkusebauch, Thank you!