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

Function symbols_method_not_captured

src/classmap_scanner.rs:2405–2418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2403
2404 #[test]
2405 fn symbols_method_not_captured() {
2406 let content = br"<?php
2407class Foo {
2408 public function bar(): void {}
2409}
2410";
2411 let result = find_symbols(content);
2412 assert_eq!(result.classes, vec!["Foo"]);
2413 assert!(
2414 result.functions.is_empty(),
2415 "methods should not appear as functions: {:?}",
2416 result.functions
2417 );
2418 }
2419
2420 #[test]
2421 fn symbols_define_single_quote() {

Callers

nothing calls this directly

Calls 1

find_symbolsFunction · 0.85

Tested by

no test coverage detected