Skip to content

Commit f035ed3

Browse files
committed
Changelog for #3609 (ref #3610)
1 parent 3726154 commit f035ed3

File tree

2 files changed

+7
-60
lines changed

2 files changed

+7
-60
lines changed

package.xml

Lines changed: 6 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -17,70 +17,17 @@ http://pear.php.net/dtd/package-2.0.xsd">
1717
<date>2022-06-13</date>
1818
<time>16:30:00</time>
1919
<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>
2222
</version>
2323
<stability>
2424
<release>stable</release>
2525
<api>stable</api>
2626
</stability>
2727
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
2828
<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
8431
</notes>
8532
<contents>
8633
<dir name="/">
@@ -2332,12 +2279,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
23322279
- Support for new PHP 8.1 readonly keyword has been added to the following sniffs:
23332280
-- Generic.PHP.LowerCaseKeyword
23342281
-- PSR2.Classes.PropertyDeclaration
2335-
-- Squiz.Commenting.BlockCommentS
2282+
-- Squiz.Commenting.BlockComment
23362283
-- Squiz.Commenting.DocCommentAlignment
23372284
-- Squiz.Commenting.VariableComment
23382285
-- Squiz.WhiteSpace.ScopeKeywordSpacing
23392286
-- 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
23412288
-- Thanks to Sergei Morozov for the patch
23422289
- The list of installed coding standards now has consistent ordering across all platforms
23432290
-- Thanks to Juliette Reinders Folmer for the patch

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Config
8080
*
8181
* @var string
8282
*/
83-
const VERSION = '3.7.0';
83+
const VERSION = '3.7.1';
8484

8585
/**
8686
* Package stability; either stable, beta or alpha.

0 commit comments

Comments
 (0)