Skip to content

Commit

Permalink
Changelog for #3226
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Feb 23, 2021
1 parent f073df4 commit 8b0137a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ http://pear.php.net/dtd/package-2.0.xsd">
-- Thanks to Juliette Reinders Folmer for the patch
- Added support for PHP 8.0 dereferencing of text strings with interpolated variables
-- Thanks to Juliette Reinders Folmer for the patch
- Added support for PHP 8.0 match expressions
-- Match expressions are now tokenised with parenthesis and scope openers and closers
--- Sniffs can listen for the T_MATCH token to process match expressions
--- Note that the case and default statements inside match expressions do not have scopes set
-- A new T_MATCH_ARROW token is available to represent the arrows in match expressions
-- A new T_MATCH_DEFAULT token is available to represent the default keyword in match expressions
-- All tokenizing of match expressions has been backfilled for older PHP versions
-- Thanks to Juliette Reinders Folmer for the patch
- The value of the T_FN_ARROW token has changed from "T_FN_ARROW" to "PHPCS_T_FN_ARROW" to avoid package conflicts
-- This will have no impact on custom sniffs unless they are specifically looking at the value of the T_FN_ARROW constant
-- If sniffs are just using constant to find arrow functions, they will continue to work without modification
Expand Down

0 comments on commit 8b0137a

Please sign in to comment.