| 5382 | } |
| 5383 | |
| 5384 | static 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 | |
| 5394 | TEST(phplsp_vendor_complete_empty_is_distinct_from_unknown) { |
| 5395 | const char *src = "<?php\nnamespace App;\nuse Vendor\\Http\\Request;\n" |
no test coverage detected