File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ http://pear.php.net/dtd/package-2.0.xsd">
3535 -- Thanks to Juliette Reinders Folmer for the patch
3636 - Added support for PHP 8.0 dereferencing of text strings with interpolated variables
3737 -- Thanks to Juliette Reinders Folmer for the patch
38+ - Added support for PHP 8.0 match expressions
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
42+ -- A new T_MATCH_ARROW token is available to represent the arrows in match expressions
43+ -- A new T_MATCH_DEFAULT token is available to represent the default keyword in match expressions
44+ -- All tokenizing of match expressions has been backfilled for older PHP versions
45+ -- Thanks to Juliette Reinders Folmer for the patch
3846 - The value of the T_FN_ARROW token has changed from "T_FN_ARROW" to "PHPCS_T_FN_ARROW" to avoid package conflicts
3947 -- This will have no impact on custom sniffs unless they are specifically looking at the value of the T_FN_ARROW constant
4048 -- If sniffs are just using constant to find arrow functions, they will continue to work without modification
You can’t perform that action at this time.
0 commit comments