Details
Details
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
This feels a little messy, particularly because buildMap is a pretty big function and probably needs to be broken up further. I feel like we should perhaps rename the buildMap function to build and make it private and then expose two functions like buildLibraryMap and buildFileSymbolMap instead.
If you don't want to do this now, then I'm willing to accept this diff now and we can clean it up later.
WARNING: I could be talking complete nonsense as I just returned from overseas and am a little jetlagged.
src/moduleutils/PhutilLibraryMapBuilder.php | ||
---|---|---|
482 | I feel as if this line should live in the buildMap function |
src/moduleutils/PhutilLibraryMapBuilder.php | ||
---|---|---|
75–76 | I also feel that this should be named buildLibraryMap for consistency, but meh. |