MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / php_receiver_strategy

Function php_receiver_strategy

internal/cbm/lsp/php_lsp.c:1456–1459  ·  view source on GitHub ↗

A method the registry DOES hold on a class reached through a vendor `use` * (a seeded library type such as GuzzleHttp.Client) is just as far outside * the project: the graph has no node for it either, so its row must carry the * same php_external_receiver proof, or the pipeline falls through to a * name-only binding of the call to a same-named project method (#1186). */

Source from the content-addressed store, hash-verified

1454 * same php_external_receiver proof, or the pipeline falls through to a
1455 * name-only binding of the call to a same-named project method (#1186). */
1456static const char *php_receiver_strategy(const PHPLSPContext *ctx, const char *class_qn,
1457 const char *strategy) {
1458 return php_external_qn(ctx, class_qn) ? "php_external_receiver" : strategy;
1459}
1460
1461static void emit_unresolved(PHPLSPContext *ctx, const char *expr_text, const char *reason) {
1462 if (!ctx->resolved_calls || !ctx->enclosing_func_qn)

Callers 2

resolve_member_callFunction · 0.85
resolve_static_callFunction · 0.85

Calls 1

php_external_qnFunction · 0.85

Tested by

no test coverage detected