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

Function symbols_define_double_quote

src/classmap_scanner.rs:2428–2432  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2426
2427 #[test]
2428 fn symbols_define_double_quote() {
2429 let content = b"<?php\ndefine(\"APP_VERSION\", '1.0');";
2430 let result = find_symbols(content);
2431 assert_eq!(result.constants, vec!["APP_VERSION"]);
2432 }
2433
2434 #[test]
2435 fn symbols_top_level_const() {

Callers

nothing calls this directly

Calls 1

find_symbolsFunction · 0.85

Tested by

no test coverage detected