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

Function php_vendor_cross

tests/test_php_lsp.c:5384–5392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5382}
5383
5384static void php_vendor_cross(CBMArena *arena, const char *src, CBMResolvedCallArray *out,
5385 const CBMPHPImportBindings *bindings) {
5386 const char *names[] = {"Svc"};
5387 const char *qns[] = {PHP_PROJECT_SVC};
5388 cbm_run_php_lsp_cross_with_bindings(
5389 arena, src, (int)strlen(src), "p.main", php_vendor_test_defs,
5390 (int)(sizeof(php_vendor_test_defs) / sizeof(php_vendor_test_defs[0])), names, qns, 1, NULL,
5391 out, bindings);
5392}
5393
5394TEST(phplsp_vendor_complete_empty_is_distinct_from_unknown) {
5395 const char *src = "<?php\nnamespace App;\nuse Vendor\\Http\\Request;\n"

Callers 1

test_php_lsp.cFile · 0.85

Tested by

no test coverage detected