Skip to content

Commit

Permalink
removed support for PHP 7
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 1, 2021
1 parent 7b5071f commit c048f4d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/RobotLoader/RobotLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,7 @@ private function scanPhp(string $file): array
continue 2;

case T_STRING:
case PHP_VERSION_ID < 80000
? T_NS_SEPARATOR
: T_NAME_QUALIFIED:
case T_NAME_QUALIFIED:
if ($expected) {
$name .= $token[1];
}
Expand Down

0 comments on commit c048f4d

Please sign in to comment.