mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-18 09:02:26 +00:00
22 lines
761 B
YAML
22 lines
761 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!: []
|
|
|
|
pathRoutingParser:
|
|
class: PHPStan\Parser\PathRoutingParser
|
|
arguments:
|
|
currentPhpVersionRichParser: @rectorParser
|
|
currentPhpVersionSimpleParser: @rectorParser
|
|
php8Parser: @php8Parser
|
|
autowired: false
|
|
|
|
rectorParser:
|
|
class: PHPStan\Parser\RichParser
|
|
arguments:
|
|
parser: @currentPhpVersionPhpParser
|
|
lexer: @currentPhpVersionLexer
|
|
autowired: no
|