Skip to content

Commit

Permalink
Each token const must have different value
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Oct 22, 2020
1 parent 5d69046 commit 72b83af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Scanner/TokenArrayScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,10 @@ protected function scan()

// ensure php backwards compatibility
if (! defined('T_NAME_QUALIFIED')) {
define('T_NAME_QUALIFIED', 24000);
define('T_NAME_QUALIFIED', 24001);
}
if (! defined('T_NAME_FULLY_QUALIFIED')) {
define('T_NAME_FULLY_QUALIFIED', 24000);
define('T_NAME_FULLY_QUALIFIED', 24002);
}

/**
Expand Down

0 comments on commit 72b83af

Please sign in to comment.