Re:Phan by Etsy – A Static Analyzer for PHP 7+
by cweagans on Tuesday December 08, 2015 @10:35AM
(#10696934)
That's awesome. If a PR was opened that added autocomplete and/or finding callers and/or refactoring (and assuming that the code is good), would you guys be open to merging it? Or would it be delayed so that the core functionality can be focused on?
[ Parent
| on HN ]
Re:Phan by Etsy – A Static Analyzer for PHP 7+
by asm on Tuesday December 08, 2015 @10:41AM
(#10696981)
Definitely.
If you want to start working on that, feel free to open up an issue (https://github.com/etsy/phan/issues/new) to start a conversation about it.
We currently store method/function callers in the sqlite database (see https://github.com/etsy/phan/blob/master/src/Phan/Analyze/Br...), but aren't yet exposing an interface for getting callers. We'll want to store callers for constants, classes, properties and global variables as well.