Skip to content

Commit cc986cd

Browse files
committed
Document sample files for AST comparison
1 parent 964dd6c commit cc986cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TOLERANT_TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ Recommended sample inputs for AST diffs (update as new fixtures are added):
7171

7272
| Feature | Sample file(s) | Min PHP | Native AST dump | Tolerant dump |
7373
| --- | --- | --- | --- | --- |
74-
| Dynamic class const fetch | `phan/tests/files/src/0847_dynamic_class_const.php` (create) | 8.3 | `php tools/dump_ast.php …` | `php tools/PrintTolerantAst.php …` |
75-
| Property hooks | `phan/tests/files/src/1166_property_hooks.php` | 8.4 | `php tools/dump_ast.php …` | `php tools/PrintTolerantAst.php …` |
74+
| Dynamic class const fetch | `tests/samples/dynamic_class_const.php` | 8.3 | `php ~/phan/tools/dump_ast.php --json ` | `php tools/PrintTolerantAst.php` + `php ~/phan/internal/dump_fallback_ast.php --php-ast` |
75+
| Property hooks | `tests/samples/property_hooks.php` | 8.4 | (run after `sudo newphp 84`) | same as above |
7676
| Asymmetric visibility props | (add fixture) | 8.4 |||
7777
| Pipe operator | (add fixture once implemented) | 8.5 |||
7878
| `clone with` expressions | (add fixture) | 8.5 |||

0 commit comments

Comments
 (0)