@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
1414 <email>gsherwood@squiz.net</email>
1515 <active>yes</active>
1616 </lead>
17- <date>2021-12 -13</date>
18- <time>08:44 :00</time>
17+ <date>2022-06 -13</date>
18+ <time>16:30 :00</time>
1919 <version>
2020 <release>3.7.0</release>
2121 <api>3.7.0</api>
@@ -2296,6 +2296,75 @@ http://pear.php.net/dtd/package-2.0.xsd">
22962296 </filelist>
22972297 </phprelease>
22982298 <changelog>
2299+ <release>
2300+ <version>
2301+ <release>3.7.0</release>
2302+ <api>3.7.0</api>
2303+ </version>
2304+ <stability>
2305+ <release>stable</release>
2306+ <api>stable</api>
2307+ </stability>
2308+ <date>2022-06-13</date>
2309+ <license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
2310+ <notes>
2311+ - Added support for PHP 8.1 explicit octal notation
2312+ -- This new syntax has been backfilled for PHP versions less than 8.1
2313+ -- Thanks to Mark Baker for the patch
2314+ -- Thanks to Juliette Reinders Folmer for additional fixes
2315+ - Added support for PHP 8.1 enums
2316+ -- This new syntax has been backfilled for PHP versions less than 8.1
2317+ -- Includes a new T_ENUM_CASE token to represent the case statements inside an enum
2318+ -- Thanks to Jaroslav Hanslík for the patch
2319+ -- Thanks to Juliette Reinders Folmer for additional core and sniff support
2320+ - Added support for the PHP 8.1 readonly token
2321+ -- Tokenzing of the readonly keyword has been backfilled for PHP versions less than 8.1
2322+ -- Thanks to Jaroslav Hanslík for the patch
2323+ - Added support for PHP 8.1 intersection types
2324+ -- Includes a new T_TYPE_INTERSECTION token to represent the ampersand character inside intersection types
2325+ -- Thanks to Jaroslav Hanslík for the patch
2326+ - File::getMethodParameters now supports the new PHP 8.1 readonly token
2327+ -- When constructor property promotion is used, a new property_readonly array index is included in the return value
2328+ --- This is a boolean value indicating if the property is readonly
2329+ -- If the readonly token is detected, a new readonly_token array index is included in the return value
2330+ --- This contains the token index of the readonly keyword
2331+ -- Thanks to Juliette Reinders Folmer for the patch
2332+ - Support for new PHP 8.1 readonly keyword has been added to the following sniffs:
2333+ -- Generic.PHP.LowerCaseKeyword
2334+ -- PSR2.Classes.PropertyDeclaration
2335+ -- Squiz.Commenting.BlockCommentS
2336+ -- Squiz.Commenting.DocCommentAlignment
2337+ -- Squiz.Commenting.VariableComment
2338+ -- Squiz.WhiteSpace.ScopeKeywordSpacing
2339+ -- Thanks to Juliette Reinders Folmer for the patches
2340+ - The parallel feature is now more efficent and runs faster in some situations due to improved process managment
2341+ -- Thanks to Sergei Morozov for the patch
2342+ - The list of installed coding standards now has consistent ordering across all platforms
2343+ -- Thanks to Juliette Reinders Folmer for the patch
2344+ - Generic.PHP.UpperCaseConstant and Generic.PHP.LowerCaseConstant now ignore type declarations
2345+ -- These sniffs now only report errors for true/false/null when used as values
2346+ -- Thanks to Juliette Reinders Folmer for the patch
2347+ - Generic.PHP.LowerCaseType now supports the PHP 8.1 never type
2348+ -- Thanks to Jaroslav Hanslík for the patch
2349+ - Fixed bug #3502 : A match statement within an array produces Squiz.Arrays.ArrayDeclaration.NoKeySpecified
2350+ - Fixed bug #3503 : Squiz.Commenting.FunctionComment.ThrowsNoFullStop false positive when one line @throw
2351+ - Fixed bug #3505 : The nullsafe operator is not counted in Generic.Metrics.CyclomaticComplexity
2352+ -- Thanks to Mark Baker for the patch
2353+ - Fixed bug #3526 : PSR12.Properties.ConstantVisibility false positive when using public final const syntax
2354+ -- Thanks to Juliette Reinders Folmer for the patch
2355+ - Fixed bug #3530 : Line indented incorrectly false positive when using match-expression inside switch case
2356+ - Fixed bug #3534 : Name of typed enum tokenized as T_GOTO_LABEL
2357+ -- Thanks to Juliette Reinders Folmer for the patch
2358+ - Fixed bug #3546 : Tokenizer/PHP: bug fix - parent/static keywords in class instantiations
2359+ -- Thanks to Juliette Reinders Folmer for the patch
2360+ - Fixed bug #3550 : False positive from PSR2.ControlStructures.SwitchDeclaration.TerminatingComment when using trailing comment
2361+ -- Thanks to Juliette Reinders Folmer for the patch
2362+ - Fixed bug #3575: Squiz.Scope.MethodScope misses visibility keyword on previous line
2363+ -- Thanks to Juliette Reinders Folmer for the patch
2364+ - Fixed bug #3604: Tokenizer/PHP: bug fix for double quoted strings using ${
2365+ -- Thanks to Juliette Reinders Folmer for the patch
2366+ </notes>
2367+ </release>
22992368 <release>
23002369 <version>
23012370 <release>3.6.2</release>
0 commit comments