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

Function symbols_namespaced_function

src/classmap_scanner.rs:2368–2372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2366
2367 #[test]
2368 fn symbols_namespaced_function() {
2369 let content = b"<?php\nnamespace App\\Helpers;\nfunction helper(): void {}";
2370 let result = find_symbols(content);
2371 assert_eq!(result.functions, vec!["App\\Helpers\\helper"]);
2372 }
2373
2374 #[test]
2375 fn symbols_closure_not_captured() {

Callers

nothing calls this directly

Calls 1

find_symbolsFunction · 0.85

Tested by

no test coverage detected