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
Add parsing support for PHP 8.4 asymmetric visibility modifiers on class
properties and constructor promotion parameters.
- Parse `public private(set)`, `protected private(set)`, `private(set)`,
`protected(set)` modifiers in class body via `read_member_flags`
- Parse asymmetric visibility on constructor promoted parameters via
`read_promoted` in function.js
- Add `visibilitySet` field to `Declaration` and `PropertyStatement` AST nodes
- Add `flagsSet` field to `Parameter` AST node
- Update `types.d.ts` with new fields
- All (set) parsing is gated behind `version >= 804`
Co-authored-by: Thomas Genin <664857+genintho@users.noreply.github.com>
0 commit comments