The qualified names of what `calls` edges from `caller` reach.
(caller: string)
| 115 | |
| 116 | /** The qualified names of what `calls` edges from `caller` reach. */ |
| 117 | function callees(caller: string): string[] { |
| 118 | const db = (cg as unknown as { db: { getDb(): { prepare(sql: string): { all(...a: unknown[]): Array<{ q: string }> } } } }).db; |
| 119 | return db.getDb().prepare(` |
| 120 | SELECT t.qualified_name q FROM edges e |
| 121 | JOIN nodes s ON s.id = e.source JOIN nodes t ON t.id = e.target |
| 122 | WHERE e.kind = 'calls' AND s.qualified_name = ?`).all(caller).map((r) => r.q).sort(); |
| 123 | } |
| 124 | |
| 125 | describe('PHP method names are matched without regard to case (#3297)', () => { |
| 126 | it("the issue's repro: all four functions call the methods", () => { |
no test coverage detected