mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
28 lines
653 B
YAML
28 lines
653 B
YAML
parameters:
|
|
# todo
|
|
kernel_class: # for name based service refactoring
|
|
|
|
services:
|
|
_defaults:
|
|
autowire: true
|
|
|
|
# PSR-4 autodiscovery
|
|
Rector\:
|
|
resource: '../../src'
|
|
|
|
# 3rd party services
|
|
Symfony\Component\Console\Application:
|
|
arguments:
|
|
$name: "Rector"
|
|
PhpParser\Parser:
|
|
factory: ['@Rector\Parser\ParserFactory', 'create']
|
|
PhpParser\Lexer:
|
|
factory: ['@Rector\Parser\LexerFactory', 'create']
|
|
PhpParser\BuilderFactory: ~
|
|
|
|
# Traverser
|
|
PhpParser\NodeTraverser: ~
|
|
# Printer
|
|
PhpParser\NodeVisitor\CloningVisitor: ~
|
|
PhpParser\PrettyPrinter\Standard: ~
|