File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -1944,7 +1944,7 @@ services:
19441944 stubPhpDocProvider :
19451945 class : PHPStan\PhpDoc\StubPhpDocProvider
19461946 arguments :
1947- parser : @defaultAnalysisParser
1947+ parser : @stubParser
19481948
19491949 # Reflection providers
19501950
@@ -2045,6 +2045,12 @@ services:
20452045 php8Parser : @php8Parser
20462046 autowired : false
20472047
2048+ stubParser :
2049+ class : PHPStan\Parser\StubParser
2050+ arguments :
2051+ parser : @php8PhpParser
2052+ autowired : false
2053+
20482054 phpstanDiagnoseExtension :
20492055 class : PHPStan\Diagnose\PHPStanDiagnoseExtension
20502056 arguments :
Original file line number Diff line number Diff line change @@ -11,11 +11,8 @@ services:
1111 arguments :
1212 php8Parser : @php8PhpParser
1313
14- defaultAnalysisParser :
15- class : PHPStan\Parser\StubParser
16- arguments! :
17- parser : @php8PhpParser
18- autowired : false
14+ defaultAnalysisParser! :
15+ factory : @stubParser
1916
2017 nodeScopeResolverReflector :
2118 factory : @stubReflector
You can’t perform that action at this time.
0 commit comments