File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 55 - 7.1
66 - 7.2
77 - 7.3
8+ - 7.4
9+ - 8.0
810
911before_install :
1012 # turn off XDebug
Original file line number Diff line number Diff line change 1515 }
1616 ],
1717 "require" : {
18- "php" : " >=5.6.0 " ,
18+ "php" : " >=5.6 <8.1 " ,
1919 "ext-tokenizer" : " *" ,
2020 "nette/finder" : " ^2.3 || ^3.0" ,
2121 "nette/utils" : " ^2.4 || ^3.0"
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ The recommended way to install is via Composer:
4646composer require nette/robot-loader
4747```
4848
49- It requires PHP version 5.6 and supports PHP up to 7.3 .
49+ It requires PHP version 5.6 and supports PHP up to 8.0 .
5050
5151
5252Usage
Original file line number Diff line number Diff line change @@ -297,8 +297,8 @@ private function scanPhp($code)
297297 case T_WHITESPACE :
298298 continue 2 ;
299299
300- case T_NS_SEPARATOR :
301300 case T_STRING :
301+ case PHP_VERSION_ID < 80000 ? T_NS_SEPARATOR : T_NAME_QUALIFIED :
302302 if ($ expected ) {
303303 $ name .= $ token [1 ];
304304 }
You can’t perform that action at this time.
0 commit comments