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:
1944
1944
stubPhpDocProvider :
1945
1945
class : PHPStan\PhpDoc\StubPhpDocProvider
1946
1946
arguments :
1947
- parser : @defaultAnalysisParser
1947
+ parser : @stubParser
1948
1948
1949
1949
# Reflection providers
1950
1950
@@ -2045,6 +2045,12 @@ services:
2045
2045
php8Parser : @php8Parser
2046
2046
autowired : false
2047
2047
2048
+ stubParser :
2049
+ class : PHPStan\Parser\StubParser
2050
+ arguments :
2051
+ parser : @php8PhpParser
2052
+ autowired : false
2053
+
2048
2054
phpstanDiagnoseExtension :
2049
2055
class : PHPStan\Diagnose\PHPStanDiagnoseExtension
2050
2056
arguments :
Original file line number Diff line number Diff line change @@ -11,11 +11,8 @@ services:
11
11
arguments :
12
12
php8Parser : @php8PhpParser
13
13
14
- defaultAnalysisParser :
15
- class : PHPStan\Parser\StubParser
16
- arguments! :
17
- parser : @php8PhpParser
18
- autowired : false
14
+ defaultAnalysisParser! :
15
+ factory : @stubParser
19
16
20
17
nodeScopeResolverReflector :
21
18
factory : @stubReflector
You can’t perform that action at this time.
0 commit comments