From dbfd9e6ae07c0ee3a65e5adc3a1dbf9faddcfed0 Mon Sep 17 00:00:00 2001 From: Greg Sherwood Date: Tue, 3 Nov 2020 08:27:24 +1100 Subject: [PATCH] Changelog for #3153 --- package.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package.xml b/package.xml index c41a9d3cf5..0019f315d7 100644 --- a/package.xml +++ b/package.xml @@ -31,7 +31,10 @@ http://pear.php.net/dtd/package-2.0.xsd"> -- File::getMethodParameters(), getMethodProperties(), and getMemberProperties() will now return union types -- Thanks to Juliette Reinders Folmer for the patch - File::getMethodParameters() now supports PHP 8.0 constructor property promotion - -- Returned method params now include a `property_visibility` and `visibility_token` index if property promotion is detected + -- Returned method params now include a "property_visibility" and "visibility_token" index if property promotion is detected + -- Thanks to Juliette Reinders Folmer for the patch + - File::getMethodProperties() now includes a "return_type_end_token" index in the return value + -- This indicates the last token in the return type, which is helpful when checking union types -- Thanks to Juliette Reinders Folmer for the patch - Include patterns are now ignored when processing STDIN -- 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"> -- Set the "alignAtEnd" sniff property to "false" to align the assignment tokens -- The default remains at "true", so the assigned values are aligned -- Thanks to John P. Bloch for the patch + - Generic.PHP.LowerCaseType now supports checking of typed properties + -- Thanks to Juliette Reinders Folmer for the patch + - Generic.PHP.LowerCaseType now supports checking of union types + -- Thanks to Juliette Reinders Folmer for the patch - PEAR.Commenting.FunctionComment and Squiz.Commenting.FunctionComment sniffs can now ignore private and protected methods -- Set the "minimumVisibility" sniff property to "protected" to ignore private methods -- Set the "minimumVisibility" sniff property to "public" to ignore both private and protected methods