File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
data/not-autoloaded/used-symbols Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -426,6 +426,7 @@ private function canBeSymbolName(
426426 || $ tokenAfterName [0 ] === T_INSTEADOF
427427 || $ tokenAfterName [0 ] === T_AS
428428 || $ tokenAfterName === ': '
429+ || $ tokenAfterName === '= '
429430 ) {
430431 return false ;
431432 }
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ public function provideVariants(): iterable
5959 [],
6060 [
6161 strtolower ('PDO ' ) => SymbolKind::CLASSLIKE ,
62+ strtolower ('SESSION_ID ' ) => SymbolKind::CONSTANT ,
6263 ],
6364 ];
6465
Original file line number Diff line number Diff line change 1010
1111class Test
1212{
13+ public const string SESSION_ID = '... ' ;
14+
1315 use SomeTrait {
1416 array_filter insteadof array_values;
1517 array_map as array_walk;
You can’t perform that action at this time.
0 commit comments