File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
35
35
- Added support for the PHP 8.1 readonly token
36
36
-- Tokenzing of the readonly keyword has been backfilled for PHP versions less than 8.1
37
37
-- Thanks to Jaroslav Hanslík for the patch
38
+ - File::getMethodParameters now supports readonly tokens
39
+ -- When constructor property promotion is used, a new property_readonly array index is included in the return value
40
+ --- This is a boolean value indicating if the property is readonly
41
+ -- If the readonly token is detected, a new readonly_token array index is included in the return value
42
+ --- This contains the token index of the readonly keyword
43
+ -- Thanks to Juliette Reinders Folmer for the patch
38
44
- Support for new PHP 8.1 readonly keyword has been added to the following sniffs:
39
45
-- Generic.PHP.LowerCaseKeyword
40
46
-- PSR2.Classes.PropertyDeclaration
You can’t perform that action at this time.
0 commit comments