()
| 785 | |
| 786 | #[test] |
| 787 | fn classify_range_no_this() { |
| 788 | let php = r#"<?php |
| 789 | function test() { |
| 790 | $x = 1; |
| 791 | } |
| 792 | "#; |
| 793 | let scope_map = collect_from_function(php); |
| 794 | |
| 795 | let frame = &scope_map.frames[0]; |
| 796 | let classification = scope_map.classify_range(frame.start, frame.end); |
| 797 | assert!(!classification.uses_this); |
| 798 | } |
| 799 | |
| 800 | // ─── Complex scenarios ────────────────────────────────────────────────────── |
| 801 |
nothing calls this directly
no test coverage detected