Releases: xp-framework/ast
Releases · xp-framework/ast
9.2.6: Namespace import fix
- Fixed relative type names with namespace imports - @thekid
9.2.5: Exponent notation fix
9.2.4: Generic types fix
9.2.3: Language cloning fix
- Fixed cloning of
lang.ast.Language
instances - @thekid
9.2.2: Line numbers fix
- Fixed line numbers for match conditions, case labels and catch
statements
(@thekid)
9.2.1: Type casting fix
- Fixed type parsing in type casts:
- Arrays, maps and generics with nullables, e.g.
(array<?int>)$v
- Intersection and union types, e.g.
(int|string)$v
.
(@thekid)
- Arrays, maps and generics with nullables, e.g.
9.2.0: Omit expressions in destructuring
- Added support for omitting expressions in destructuring assignments,
e.g.list($a, , $b)= $expr
or[, $a]= $expr
.
(@thekid)
9.1.0: Generic wildcards
9.0.0. Type refactoring
8.2.0: PHP 8.2 types
- Added support for PHP 8.2
null
,true
andfalse
types, see:
https://wiki.php.net/rfc/null-false-standalone-types
https://wiki.php.net/rfc/true-type
(@thekid)