@@ -17,70 +17,17 @@ http://pear.php.net/dtd/package-2.0.xsd">
17
17
<date>2022-06-13</date>
18
18
<time>16:30:00</time>
19
19
<version>
20
- <release>3.7.0 </release>
21
- <api>3.7.0 </api>
20
+ <release>3.7.1 </release>
21
+ <api>3.7.1 </api>
22
22
</version>
23
23
<stability>
24
24
<release>stable</release>
25
25
<api>stable</api>
26
26
</stability>
27
27
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
28
28
<notes>
29
- - Added support for PHP 8.1 explicit octal notation
30
- -- This new syntax has been backfilled for PHP versions less than 8.1
31
- -- Thanks to Mark Baker for the patch
32
- -- Thanks to Juliette Reinders Folmer for additional fixes
33
- - Added support for PHP 8.1 enums
34
- -- This new syntax has been backfilled for PHP versions less than 8.1
35
- -- Includes a new T_ENUM_CASE token to represent the case statements inside an enum
36
- -- Thanks to Jaroslav Hanslík for the patch
37
- -- Thanks to Juliette Reinders Folmer for additional core and sniff support
38
- - Added support for the PHP 8.1 readonly token
39
- -- Tokenzing of the readonly keyword has been backfilled for PHP versions less than 8.1
40
- -- Thanks to Jaroslav Hanslík for the patch
41
- - Added support for PHP 8.1 intersection types
42
- -- Includes a new T_TYPE_INTERSECTION token to represent the ampersand character inside intersection types
43
- -- Thanks to Jaroslav Hanslík for the patch
44
- - File::getMethodParameters now supports the new PHP 8.1 readonly token
45
- -- When constructor property promotion is used, a new property_readonly array index is included in the return value
46
- --- This is a boolean value indicating if the property is readonly
47
- -- If the readonly token is detected, a new readonly_token array index is included in the return value
48
- --- This contains the token index of the readonly keyword
49
- -- Thanks to Juliette Reinders Folmer for the patch
50
- - Support for new PHP 8.1 readonly keyword has been added to the following sniffs:
51
- -- Generic.PHP.LowerCaseKeyword
52
- -- PSR2.Classes.PropertyDeclaration
53
- -- Squiz.Commenting.BlockCommentS
54
- -- Squiz.Commenting.DocCommentAlignment
55
- -- Squiz.Commenting.VariableComment
56
- -- Squiz.WhiteSpace.ScopeKeywordSpacing
57
- -- Thanks to Juliette Reinders Folmer for the patches
58
- - The parallel feature is now more efficent and runs faster in some situations due to improved process managment
59
- -- Thanks to Sergei Morozov for the patch
60
- - The list of installed coding standards now has consistent ordering across all platforms
61
- -- Thanks to Juliette Reinders Folmer for the patch
62
- - Generic.PHP.UpperCaseConstant and Generic.PHP.LowerCaseConstant now ignore type declarations
63
- -- These sniffs now only report errors for true/false/null when used as values
64
- -- Thanks to Juliette Reinders Folmer for the patch
65
- - Generic.PHP.LowerCaseType now supports the PHP 8.1 never type
66
- -- Thanks to Jaroslav Hanslík for the patch
67
- - Fixed bug #3502 : A match statement within an array produces Squiz.Arrays.ArrayDeclaration.NoKeySpecified
68
- - Fixed bug #3503 : Squiz.Commenting.FunctionComment.ThrowsNoFullStop false positive when one line @throw
69
- - Fixed bug #3505 : The nullsafe operator is not counted in Generic.Metrics.CyclomaticComplexity
70
- -- Thanks to Mark Baker for the patch
71
- - Fixed bug #3526 : PSR12.Properties.ConstantVisibility false positive when using public final const syntax
72
- -- Thanks to Juliette Reinders Folmer for the patch
73
- - Fixed bug #3530 : Line indented incorrectly false positive when using match-expression inside switch case
74
- - Fixed bug #3534 : Name of typed enum tokenized as T_GOTO_LABEL
75
- -- Thanks to Juliette Reinders Folmer for the patch
76
- - Fixed bug #3546 : Tokenizer/PHP: bug fix - parent/static keywords in class instantiations
77
- -- Thanks to Juliette Reinders Folmer for the patch
78
- - Fixed bug #3550 : False positive from PSR2.ControlStructures.SwitchDeclaration.TerminatingComment when using trailing comment
79
- -- Thanks to Juliette Reinders Folmer for the patch
80
- - Fixed bug #3575: Squiz.Scope.MethodScope misses visibility keyword on previous line
81
- -- Thanks to Juliette Reinders Folmer for the patch
82
- - Fixed bug #3604: Tokenizer/PHP: bug fix for double quoted strings using ${
83
- -- Thanks to Juliette Reinders Folmer for the patch
29
+ - Fixed bug #3609: Method with name empty is always reported as error
30
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
84
31
</notes>
85
32
<contents>
86
33
<dir name="/">
@@ -2332,12 +2279,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
2332
2279
- Support for new PHP 8.1 readonly keyword has been added to the following sniffs:
2333
2280
-- Generic.PHP.LowerCaseKeyword
2334
2281
-- PSR2.Classes.PropertyDeclaration
2335
- -- Squiz.Commenting.BlockCommentS
2282
+ -- Squiz.Commenting.BlockComment
2336
2283
-- Squiz.Commenting.DocCommentAlignment
2337
2284
-- Squiz.Commenting.VariableComment
2338
2285
-- Squiz.WhiteSpace.ScopeKeywordSpacing
2339
2286
-- 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
2287
+ - The parallel feature is now more efficient and runs faster in some situations due to improved process management
2341
2288
-- Thanks to Sergei Morozov for the patch
2342
2289
- The list of installed coding standards now has consistent ordering across all platforms
2343
2290
-- Thanks to Juliette Reinders Folmer for the patch
0 commit comments