|
| 1 | +services: |
| 2 | + php8Parser: |
| 3 | + class: PHPStan\Parser\SimpleParser |
| 4 | + arguments: |
| 5 | + parser: @php8PhpParser |
| 6 | + autowired: false |
| 7 | + |
| 8 | + php8Lexer: |
| 9 | + class: PhpParser\Lexer\Emulative |
| 10 | + factory: @PHPStan\Parser\LexerFactory::createEmulative() |
| 11 | + autowired: false |
| 12 | + |
| 13 | + php8PhpParser: |
| 14 | + class: PhpParser\Parser\Php8 |
| 15 | + arguments: |
| 16 | + lexer: @php8Lexer |
| 17 | + autowired: false |
| 18 | + |
| 19 | + currentPhpVersionLexer: |
| 20 | + class: PhpParser\Lexer |
| 21 | + factory: @PHPStan\Parser\LexerFactory::create() |
| 22 | + autowired: false |
| 23 | + |
| 24 | + currentPhpVersionPhpParser: |
| 25 | + factory: @currentPhpVersionPhpParserFactory::create() |
| 26 | + autowired: false |
| 27 | + |
| 28 | + currentPhpVersionPhpParserFactory: |
| 29 | + class: PHPStan\Parser\PhpParserFactory |
| 30 | + arguments: |
| 31 | + lexer: @currentPhpVersionLexer |
| 32 | + autowired: false |
| 33 | + |
| 34 | + currentPhpVersionSimpleDirectParser: |
| 35 | + class: PHPStan\Parser\SimpleParser |
| 36 | + arguments: |
| 37 | + parser: @currentPhpVersionPhpParser |
| 38 | + autowired: no |
| 39 | + |
| 40 | + currentPhpVersionSimpleParser: |
| 41 | + class: PHPStan\Parser\CleaningParser |
| 42 | + arguments: |
| 43 | + wrappedParser: @currentPhpVersionSimpleDirectParser |
| 44 | + autowired: no |
| 45 | + |
| 46 | + currentPhpVersionRichParser: |
| 47 | + class: PHPStan\Parser\RichParser |
| 48 | + arguments: |
| 49 | + parser: @currentPhpVersionPhpParser |
| 50 | + autowired: no |
| 51 | + |
| 52 | + pathRoutingParser: |
| 53 | + class: PHPStan\Parser\PathRoutingParser |
| 54 | + arguments: |
| 55 | + currentPhpVersionRichParser: @currentPhpVersionRichParser |
| 56 | + currentPhpVersionSimpleParser: @currentPhpVersionSimpleParser |
| 57 | + php8Parser: @php8Parser |
| 58 | + singleReflectionFile: %singleReflectionFile% |
| 59 | + autowired: false |
| 60 | + |
| 61 | + phpParserDecorator: |
| 62 | + class: PHPStan\Parser\PhpParserDecorator |
| 63 | + arguments: |
| 64 | + wrappedParser: @defaultAnalysisParser |
| 65 | + autowired: false |
| 66 | + |
| 67 | + defaultAnalysisParser: |
| 68 | + class: PHPStan\Parser\CachedParser |
| 69 | + arguments: |
| 70 | + originalParser: @pathRoutingParser |
| 71 | + cachedNodesByStringCountMax: %cache.nodesByStringCountMax% |
| 72 | + autowired: false |
| 73 | + |
| 74 | + freshStubParser: |
| 75 | + class: PHPStan\Parser\StubParser |
| 76 | + arguments: |
| 77 | + parser: @php8PhpParser |
| 78 | + autowired: false |
| 79 | + |
| 80 | + stubParser: |
| 81 | + class: PHPStan\Parser\CachedParser |
| 82 | + arguments: |
| 83 | + originalParser: @freshStubParser |
| 84 | + cachedNodesByStringCountMax: %cache.nodesByStringCountMax% |
| 85 | + autowired: false |
0 commit comments