You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TOLERANT_TODO.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,11 @@ Double-check tolerant against the language changes that shipped with 8.3:
23
23
24
24
### PHP 8.4
25
25
26
-
-**Property access hooks** (`public int $count { get => ...; set { ... } }`):
26
+
-**Property access hooks** (`public int $count { get => ...; set { ... } }`):**(implemented)**
27
27
- Tokenizer must recognise `get`/`set` (and hook modifiers) in this context.
28
28
- Introduce AST nodes for hook lists/bodies that align with php-ast’s `AST_PROP_ELEM``hooks` child.
29
29
- Update diagnostics to catch invalid hook combinations.
30
+
- Conversion now produces `AST_PROPERTY_HOOK`/`AST_PROPERTY_HOOK_SHORT_BODY` nodes; add regression coverage to guard against regressions.
30
31
-**Asymmetric visibility v2** (`public(set) private(get) $prop;`): extend the modifier grammar, update `TokenKind`, and cover tolerant AST flag handling.
31
32
-**`new Foo()->bar()` without wrapping parentheses**: confirm parser handles the reduced precedence and add regression tests.
32
33
-**Property hook improvements** (hook attributes, multiple hooks per property, etc.): ensure attribute placement and hook ordering are represented correctly.
0 commit comments