Skip to content

Commit

Permalink
Merge branch 'php-8.0/squiz-lowercasedeclaration-support-match' of ht…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Feb 23, 2021
2 parents 9d82616 + b2ed117 commit f8db9e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function register()
T_WHILE,
T_TRY,
T_CATCH,
T_MATCH,
];

}//end register()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ If ($condition) {
TRY {
} Catch (Exception $e) {
}

$r = MATCH ($x) {};
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ if ($condition) {
try {
} catch (Exception $e) {
}

$r = match ($x) {};
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function getErrorList()
16 => 1,
20 => 1,
21 => 1,
24 => 1,
];

}//end getErrorList()
Expand Down

0 comments on commit f8db9e3

Please sign in to comment.