File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ Version 5.5.0 (2025-05-31)
2
+ --------------------------
3
+
4
+ ### Added
5
+
6
+ * [ 8.5] Added support for attributes on constants. ` Stmt\Const_ ` now has an ` attrGroups ` subnode.
7
+ * Added ` weakReferences ` option to ` NodeConnectingVisitor ` and ` ParentConnectingVisitor ` . This
8
+ will create the parent/next/prev references as WeakReferences, to avoid making the AST cyclic
9
+ and thus increasing GC pressure.
10
+
11
+ ### Changed
12
+
13
+ * Attributes on parameters are now printed on separate lines if the pretty printer target version
14
+ is PHP 7.4 or older (which is the default). This allows them to be interpreted as comments,
15
+ instead of causing a parse error. Specify a target version of PHP 8.0 or newer to restore the
16
+ previous behavior.
17
+
1
18
Version 5.4.0 (2024-12-30)
2
19
--------------------------
3
20
You can’t perform that action at this time.
0 commit comments