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

Function symbols_closure_not_captured

src/classmap_scanner.rs:2375–2379  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2373
2374 #[test]
2375 fn symbols_closure_not_captured() {
2376 let content = b"<?php\n$fn = function () { return 1; };";
2377 let result = find_symbols(content);
2378 assert!(result.functions.is_empty());
2379 }
2380
2381 #[test]
2382 fn use_function_not_captured() {

Callers

nothing calls this directly

Calls 1

find_symbolsFunction · 0.85

Tested by

no test coverage detected