Commit 447a020 1 parent 45f70ed commit 447a020 Copy full SHA for 447a020
File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ Version 5.4.0 (2024-12-30)
2
+ --------------------------
3
+
4
+ ### Added
5
+
6
+ * Added ` Property::isAbstract() ` and ` Property::isFinal() ` methods.
7
+ * Added ` PropertyHook::isFinal() ` method.
8
+ * Emit an error if property hook is used on declaration with multiple properties.
9
+
10
+ ### Fixed
11
+
12
+ * Make legacy class aliases compatible with classmap-authoritative autoloader.
13
+ * ` Param::isPromoted() ` and ` Param::isPublic() ` now returns true for parameters that have property
14
+ hooks but no explicit visibility modifier.
15
+ * ` PropertyHook::getStmts() ` now correctly desugars short ` set ` hooks. ` set => $value ` will be
16
+ expanded to ` set { $this->propertyName = $value; } ` . This requires the ` propertyName ` attribute
17
+ on the hook to be set, which is now also set by the parser. If the attribute is not set,
18
+ ` getStmts() ` will throw an error for short set hooks, as it is not possible to produce a correct
19
+ desugaring.
20
+
1
21
Version 5.3.1 (2024-10-08)
2
22
--------------------------
3
23
You can’t perform that action at this time.
0 commit comments