We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7f879 commit 4153697Copy full SHA for 4153697
.travis.yml
@@ -4,6 +4,9 @@ php:
4
- 7.0
5
- 7.1
6
- 7.2
7
+ - 7.3
8
+ - 7.4
9
+ - 8.0
10
11
before_install:
12
# turn off XDebug
composer.json
@@ -15,7 +15,7 @@
15
}
16
],
17
"require": {
18
- "php": ">=5.6.0",
+ "php": ">=5.6 <8.1",
19
"ext-tokenizer": "*",
20
"nette/caching": "~2.2",
21
"nette/finder": "~2.3",
src/RobotLoader/RobotLoader.php
@@ -288,8 +288,8 @@ private function scanPhp($code)
288
case T_WHITESPACE:
289
continue 2;
290
291
- case T_NS_SEPARATOR:
292
case T_STRING:
+ case PHP_VERSION_ID < 80000 ? T_NS_SEPARATOR : T_NAME_QUALIFIED:
293
if ($expected) {
294
$name .= $token[1];
295
0 commit comments