File tree 1 file changed +13
-6
lines changed
1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -281,9 +281,6 @@ services:
281
281
-
282
282
class : PhpParser\NodeVisitor\NodeConnectingVisitor
283
283
284
- -
285
- class : PhpParser\Parser\Php7
286
-
287
284
-
288
285
class : PhpParser\PrettyPrinter\Standard
289
286
@@ -522,7 +519,7 @@ services:
522
519
-
523
520
class : PHPStan\Parser\CachedParser
524
521
arguments :
525
- originalParser : @directParser
522
+ originalParser : @currentPhpVersionParser
526
523
cachedNodesByStringCountMax : %cache.nodesByStringCountMax%
527
524
528
525
-
@@ -1176,8 +1173,11 @@ services:
1176
1173
directory : %tmpDir%/cache/PHPStan
1177
1174
autowired : no
1178
1175
1179
- directParser :
1176
+ currentPhpVersionParser :
1180
1177
class : PHPStan\Parser\DirectParser
1178
+ arguments :
1179
+ parser : @currentPhpVersionPhpParser
1180
+ lexer : @currentPhpVersionLexer
1181
1181
autowired : no
1182
1182
1183
1183
phpParserDecorator :
@@ -1186,9 +1186,16 @@ services:
1186
1186
wrappedParser : @PHPStan\Parser\Parser
1187
1187
autowired : no
1188
1188
1189
- phpParserLexer :
1189
+ currentPhpVersionLexer :
1190
1190
class : PhpParser\Lexer
1191
1191
factory : @PHPStan\Parser\LexerFactory::create ()
1192
+ autowired : false
1193
+
1194
+ currentPhpVersionPhpParser :
1195
+ class : PhpParser\Parser\Php7
1196
+ arguments :
1197
+ lexer : @currentPhpVersionLexer
1198
+ autowired : false
1192
1199
1193
1200
registry :
1194
1201
class : PHPStan\Rules\Registry
You can’t perform that action at this time.
0 commit comments