@@ -31,7 +31,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
31
31
-- File::getMethodParameters(), getMethodProperties(), and getMemberProperties() will now return union types
32
32
-- Thanks to Juliette Reinders Folmer for the patch
33
33
- File::getMethodParameters() now supports PHP 8.0 constructor property promotion
34
- -- Returned method params now include a `property_visibility` and `visibility_token` index if property promotion is detected
34
+ -- Returned method params now include a "property_visibility" and "visibility_token" index if property promotion is detected
35
+ -- Thanks to Juliette Reinders Folmer for the patch
36
+ - File::getMethodProperties() now includes a "return_type_end_token" index in the return value
37
+ -- This indicates the last token in the return type, which is helpful when checking union types
35
38
-- Thanks to Juliette Reinders Folmer for the patch
36
39
- Include patterns are now ignored when processing STDIN
37
40
-- Previously, checks using include patterns were excluded when processing STDIN when no file path was provided via --stdin-path
@@ -44,6 +47,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
44
47
-- Set the "alignAtEnd" sniff property to "false" to align the assignment tokens
45
48
-- The default remains at "true", so the assigned values are aligned
46
49
-- Thanks to John P. Bloch for the patch
50
+ - Generic.PHP.LowerCaseType now supports checking of typed properties
51
+ -- Thanks to Juliette Reinders Folmer for the patch
52
+ - Generic.PHP.LowerCaseType now supports checking of union types
53
+ -- Thanks to Juliette Reinders Folmer for the patch
47
54
- PEAR.Commenting.FunctionComment and Squiz.Commenting.FunctionComment sniffs can now ignore private and protected methods
48
55
-- Set the "minimumVisibility" sniff property to "protected" to ignore private methods
49
56
-- Set the "minimumVisibility" sniff property to "public" to ignore both private and protected methods
0 commit comments