MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / open_scaffolding

Function open_scaffolding

tests/integration/blade_debug.rs:30–47  ·  view source on GitHub ↗
(backend: &phpantom_lsp::Backend)

Source from the content-addressed store, hash-verified

28}"#;
29
30 async fn open_scaffolding(backend: &phpantom_lsp::Backend) {
31 for (uri, text) in [
32 ("file:///app/Models/BlogPost.php", BLOG_POST_PHP),
33 ("file:///app/Models/BlogAuthor.php", BLOG_AUTHOR_PHP),
34 ("file:///vendor/Carbon.php", CARBON_PHP),
35 ] {
36 backend
37 .did_open(DidOpenTextDocumentParams {
38 text_document: TextDocumentItem {
39 uri: Url::parse(uri).unwrap(),
40 language_id: "php".to_string(),
41 version: 1,
42 text: text.to_string(),
43 },
44 })
45 .await;
46 }
47 }
48
49 // ── The Blade template under test ───────────────────────────────────
50

Callers 13

test_hover_author_phpFunction · 0.85
test_hover_author_bladeFunction · 0.85
test_gtd_author_name_phpFunction · 0.85
test_hover_post_phpFunction · 0.85
test_hover_post_bladeFunction · 0.85
test_gtd_get_title_phpFunction · 0.85
test_gtd_get_title_bladeFunction · 0.85
test_hover_chained_phpFunction · 0.85
test_hover_chained_bladeFunction · 0.85

Calls 2

did_openMethod · 0.45
unwrapMethod · 0.45

Tested by 13

test_hover_author_phpFunction · 0.68
test_hover_author_bladeFunction · 0.68
test_gtd_author_name_phpFunction · 0.68
test_hover_post_phpFunction · 0.68
test_hover_post_bladeFunction · 0.68
test_gtd_get_title_phpFunction · 0.68
test_gtd_get_title_bladeFunction · 0.68
test_hover_chained_phpFunction · 0.68
test_hover_chained_bladeFunction · 0.68