Skip to content

Commit 67eac60

Browse files
committed
Changelog for #3516
1 parent c27e4a3 commit 67eac60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
3535
- Added support for the PHP 8.1 readonly token
3636
-- Tokenzing of the readonly keyword has been backfilled for PHP versions less than 8.1
3737
-- 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
3844
- Support for new PHP 8.1 readonly keyword has been added to the following sniffs:
3945
-- Generic.PHP.LowerCaseKeyword
4046
-- PSR2.Classes.PropertyDeclaration

0 commit comments

Comments
 (0)