mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
9a4a5b2bc5
eb5df4dde7
Use vendor-patches main branch (#6453)
28 lines
955 B
YAML
28 lines
955 B
YAML
# see original config.neon in phpstan.neon - https://github.com/phpstan/phpstan-src/blob/386eb913abb6ac05886c5642fd48b5d99db66a20/conf/config.neon#L1582
|
|
# this file overrides definitions from the config above
|
|
services:
|
|
defaultAnalysisParser:
|
|
factory: @pathRoutingParser
|
|
arguments!: []
|
|
|
|
cachedRectorParser:
|
|
class: PHPStan\Parser\CachedParser
|
|
arguments:
|
|
originalParser: @rectorParser
|
|
cachedNodesByStringCountMax: %cache.nodesByStringCountMax%
|
|
autowired: false
|
|
|
|
pathRoutingParser:
|
|
class: PHPStan\Parser\PathRoutingParser
|
|
arguments:
|
|
currentPhpVersionRichParser: @cachedRectorParser
|
|
currentPhpVersionSimpleParser: @cachedRectorParser
|
|
php8Parser: @php8Parser
|
|
autowired: false
|
|
|
|
rectorParser:
|
|
class: PHPStan\Parser\RichParser
|
|
arguments:
|
|
parser: @currentPhpVersionPhpParser
|
|
autowired: no
|