| 1459 | } |
| 1460 | |
| 1461 | static void emit_unresolved(PHPLSPContext *ctx, const char *expr_text, const char *reason) { |
| 1462 | if (!ctx->resolved_calls || !ctx->enclosing_func_qn) |
| 1463 | return; |
| 1464 | CBMResolvedCall rc = {0}; |
| 1465 | rc.caller_qn = ctx->enclosing_func_qn; |
| 1466 | rc.callee_qn = expr_text ? expr_text : "?"; |
| 1467 | rc.strategy = "lsp_unresolved"; |
| 1468 | rc.confidence = 0.0f; |
| 1469 | rc.reason = reason; |
| 1470 | cbm_resolvedcall_push(ctx->resolved_calls, ctx->arena, rc); |
| 1471 | } |
| 1472 | |
| 1473 | /* ── statement-level scope binding ──────────────────────────────── */ |
| 1474 |
nothing calls this directly
no test coverage detected