Currently the project scans each file into memory and examines every single line using a regex. This is fine for now but probably not very efficient and is error-prone.
It would be interesting to try to use something like PHP-AST to parse the code in an intelligent way and scan only the function names (or alternatively just the comments along with #11). It might be more efficient and would make this tool much more robust.
Currently the project scans each file into memory and examines every single line using a regex. This is fine for now but probably not very efficient and is error-prone.
It would be interesting to try to use something like PHP-AST to parse the code in an intelligent way and scan only the function names (or alternatively just the comments along with #11). It might be more efficient and would make this tool much more robust.