@@ -37,11 +37,25 @@ http://pear.php.net/dtd/package-2.0.xsd">
37
37
-- Thanks to Juliette Reinders Folmer for the patch
38
38
- Added support for PHP 8.0 match expressions
39
39
-- Match expressions are now tokenised with parenthesis and scope openers and closers
40
- --- Sniffs can listen for the T_MATCH token to process match expressions
41
- --- Note that the case and default statements inside match expressions do not have scopes set
40
+ --- Sniffs can listen for the T_MATCH token to process match expressions
41
+ --- Note that the case and default statements inside match expressions do not have scopes set
42
42
-- A new T_MATCH_ARROW token is available to represent the arrows in match expressions
43
43
-- A new T_MATCH_DEFAULT token is available to represent the default keyword in match expressions
44
44
-- All tokenizing of match expressions has been backfilled for older PHP versions
45
+ -- The following sniffs have been updated to support match expressions:
46
+ --- Generic.CodeAnalysis.AssignmentInCondition
47
+ --- Generic.CodeAnalysis.EmptyStatement
48
+ --- Generic.PHP.LowerCaseKeyword
49
+ --- PEAR.ControlStructures.ControlSignature
50
+ --- PSR12.ControlStructures.BooleanOperatorPlacement
51
+ --- Squiz.Commenting.LongConditionClosingComment
52
+ --- Squiz.Commenting.PostStatementComment
53
+ --- Squiz.ControlStructures.LowercaseDeclaration
54
+ --- Squiz.ControlStructures.ControlSignature
55
+ --- Squiz.Formatting.OperatorBracket
56
+ --- Squiz.PHP.DisallowMultipleAssignments
57
+ --- Squiz.Objects.ObjectInstantiation
58
+ --- Squiz.WhiteSpace.ControlStructureSpacing
45
59
-- Thanks to Juliette Reinders Folmer for the patch
46
60
- The value of the T_FN_ARROW token has changed from "T_FN_ARROW" to "PHPCS_T_FN_ARROW" to avoid package conflicts
47
61
-- This will have no impact on custom sniffs unless they are specifically looking at the value of the T_FN_ARROW constant
0 commit comments