Skip to content

Commit a257099

Browse files
committed
Added syntactic support for final promoted parameters
1 parent 6764d88 commit a257099

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ XP AST ChangeLog
33

44
## ?.?.? / ????-??-??
55

6+
## 11.5.0 / 2025-04-05
7+
8+
* Added syntactic support for `final` promoted parameters, see this RFC:
9+
https://wiki.php.net/rfc/final_promotion
10+
(@thekid)
11+
612
## 11.4.0 / 2025-01-26
713

814
* Merged PR #55: Add suport for heredoc (and its nowdoc variant) - @thekid

src/main/php/lang/ast/syntax/PHP.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,6 +1504,7 @@ private function parameters($parse) {
15041504
'protected' => true,
15051505
'public' => true,
15061506
'readonly' => true,
1507+
'final' => true,
15071508
];
15081509

15091510
$parameters= [];

0 commit comments

Comments
 (0)