Skip to content

Commit 7e39f13

Browse files
Merge pull request #41 from matomo-org/fix-php-parser
Add fn & coalesce to token list
2 parents dddc7fc + b4cb7c2 commit 7e39f13

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

vendor/prefixed/nikic/php-parser/lib/PhpParser/compatibility_tokens.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
function defineCompatibilityTokens() : void
88
{
99
$compatTokens = [
10+
// PHP 7.4
11+
'T_COALESCE_EQUAL',
12+
'T_FN',
1013
// PHP 8.0
1114
'T_NAME_QUALIFIED',
1215
'T_NAME_FULLY_QUALIFIED',

0 commit comments

Comments
 (0)