File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1174,7 +1174,7 @@ services:
1174
1174
autowired : no
1175
1175
1176
1176
currentPhpVersionParser :
1177
- class : PHPStan\Parser\DirectParser
1177
+ class : PHPStan\Parser\RichParser
1178
1178
arguments :
1179
1179
parser : @currentPhpVersionPhpParser
1180
1180
lexer : @currentPhpVersionLexer
Original file line number Diff line number Diff line change 10
10
use PHPStan \File \FileReader ;
11
11
use PHPStan \NodeVisitor \StatementOrderVisitor ;
12
12
13
- class DirectParser implements Parser
13
+ class RichParser implements Parser
14
14
{
15
15
16
16
private \PhpParser \Parser $ parser ;
Original file line number Diff line number Diff line change 10
10
use PHPStan \Dependency \ExportedNodeResolver ;
11
11
use PHPStan \File \RelativePathHelper ;
12
12
use PHPStan \NodeVisitor \StatementOrderVisitor ;
13
- use PHPStan \Parser \DirectParser ;
14
13
use PHPStan \Parser \NodeChildrenVisitor ;
14
+ use PHPStan \Parser \RichParser ;
15
15
use PHPStan \Php \PhpVersion ;
16
16
use PHPStan \PhpDoc \PhpDocInheritanceResolver ;
17
17
use PHPStan \PhpDoc \PhpDocNodeResolver ;
@@ -521,7 +521,7 @@ private function createAnalyser(bool $reportUnmatchedIgnoredErrors): \PHPStan\An
521
521
$ fileAnalyser = new FileAnalyser (
522
522
$ this ->createScopeFactory ($ broker , $ typeSpecifier ),
523
523
$ nodeScopeResolver ,
524
- new DirectParser (
524
+ new RichParser (
525
525
new \PhpParser \Parser \Php7 ($ lexer ),
526
526
$ lexer ,
527
527
new \PhpParser \NodeVisitor \NameResolver (),
You can’t perform that action at this time.
0 commit comments