rector/config/phpstan/parser.neon
Tomas Votruba cf975f7d4d Updated Rector to commit b2d174999982e504501d85a94fcaa0b4fcf7d693
b2d1749999 Fix issue of parsing PHP 8 sources on PHP 7.x (#1184)
2021-11-08 09:21:05 +00:00

19 lines
485 B
YAML

services:
defaultAnalysisParser:
factory: @cachedRectorParser
arguments!: []
cachedRectorParser:
class: PHPStan\Parser\CachedParser
arguments:
originalParser: @rectorParser
cachedNodesByStringCountMax: %cache.nodesByStringCountMax%
autowired: no
rectorParser:
class: PHPStan\Parser\RichParser
arguments:
parser: @php8PhpParser
lexer: @php8Lexer
autowired: no