Skip to content

Commit

Permalink
Each token const must have different value
Browse files Browse the repository at this point in the history
Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
  • Loading branch information
Slamdunk authored and weierophinney committed Nov 11, 2020
1 parent 62efbb4 commit 3278b04
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 3278b04

Please sign in to comment.