()
| 2357 | |
| 2358 | #[test] |
| 2359 | fn symbols_simple_function() { |
| 2360 | let content = b"<?php\nfunction helper(): void {}"; |
| 2361 | let result = find_symbols(content); |
| 2362 | assert_eq!(result.functions, vec!["helper"]); |
| 2363 | assert!(result.classes.is_empty()); |
| 2364 | assert!(result.constants.is_empty()); |
| 2365 | } |
| 2366 | |
| 2367 | #[test] |
| 2368 | fn symbols_namespaced_function() { |
nothing calls this directly
no test coverage detected