2017-07-15 19:01:21 +02:00
|
|
|
services:
|
2018-08-19 20:34:13 +02:00
|
|
|
_defaults:
|
|
|
|
public: true
|
|
|
|
autowire: true
|
|
|
|
|
2020-02-06 22:48:18 +01:00
|
|
|
Rector\Core\:
|
2019-02-03 18:30:33 +01:00
|
|
|
resource: '../src'
|
2019-11-22 19:42:57 +01:00
|
|
|
exclude:
|
|
|
|
- '../src/Rector/**/*Rector.php'
|
|
|
|
- '../src/Testing/PHPUnit/*'
|
|
|
|
- '../src/RectorDefinition/*'
|
|
|
|
- '../src/Exception/*'
|
|
|
|
- '../src/DependencyInjection/CompilerPass/*'
|
|
|
|
- '../src/DependencyInjection/Loader/*'
|
2019-12-08 18:01:29 +01:00
|
|
|
- '../src/HttpKernel/*'
|
2019-11-22 19:42:57 +01:00
|
|
|
- '../src/ValueObject/*'
|
2017-07-15 19:01:21 +02:00
|
|
|
|
2018-09-26 14:54:12 +08:00
|
|
|
Symfony\Component\Console\Application:
|
2020-02-06 22:48:18 +01:00
|
|
|
alias: 'Rector\Core\Console\Application'
|
2018-12-21 11:25:27 +01:00
|
|
|
|
2020-01-05 20:00:32 +01:00
|
|
|
Symfony\Component\Console\Descriptor\TextDescriptor: null
|
2019-02-03 17:27:26 +01:00
|
|
|
|
|
|
|
# PhpParser - Parser
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpParser\ParserFactory: null
|
|
|
|
PhpParser\BuilderFactory: null
|
2019-02-03 17:27:26 +01:00
|
|
|
PhpParser\NodeVisitor\CloningVisitor:
|
2020-01-05 20:00:32 +01:00
|
|
|
PhpParser\NodeFinder: null
|
2019-02-03 17:27:26 +01:00
|
|
|
|
|
|
|
# value resolver
|
2020-01-05 20:00:32 +01:00
|
|
|
Symfony\Component\Filesystem\Filesystem: null
|
|
|
|
Symplify\PackageBuilder\Reflection\PrivatesAccessor: null
|
2019-02-03 17:27:26 +01:00
|
|
|
|
2020-01-05 20:00:32 +01:00
|
|
|
Symplify\PackageBuilder\FileSystem\FileSystem: null
|
|
|
|
Symplify\SmartFileSystem\Finder\FinderSanitizer: null
|
2019-02-03 17:27:26 +01:00
|
|
|
|
2020-01-05 20:00:32 +01:00
|
|
|
Symplify\PackageBuilder\Parameter\ParameterProvider: null
|
|
|
|
Symplify\PackageBuilder\Reflection\PrivatesCaller: null
|
|
|
|
Symplify\PackageBuilder\Strings\StringFormatConverter: null
|
2019-02-03 17:27:26 +01:00
|
|
|
|
2019-06-27 00:05:41 +02:00
|
|
|
# alises
|
2020-02-06 22:48:18 +01:00
|
|
|
Symfony\Contracts\EventDispatcher\EventDispatcherInterface: '@Rector\Core\EventDispatcher\AutowiredEventDispatcher'
|
2019-06-27 00:05:41 +02:00
|
|
|
|
2020-01-05 20:00:32 +01:00
|
|
|
OndraM\CiDetector\CiDetector: null
|
2019-10-16 09:46:11 +02:00
|
|
|
|
2019-02-03 17:27:26 +01:00
|
|
|
# see https://github.com/symplify/packagebuilder#prevent-parameter-typos
|
2020-01-05 20:00:32 +01:00
|
|
|
Symplify\PackageBuilder\EventSubscriber\ParameterTypoProofreaderEventSubscriber: null
|
2019-02-03 17:27:26 +01:00
|
|
|
Symplify\PackageBuilder\Parameter\ParameterTypoProofreader:
|
|
|
|
$correctToTypos:
|
|
|
|
# keep "exclude_" explicit, to get typos to the correct key
|
|
|
|
exclude_paths:
|
2019-06-15 13:57:18 +02:00
|
|
|
- 'exclude'
|
|
|
|
- 'excluded'
|
2019-02-03 17:27:26 +01:00
|
|
|
- 'exclude_path'
|
|
|
|
- 'excluded_path'
|
|
|
|
- 'exclude_dir'
|
|
|
|
- 'excluded_dir'
|
|
|
|
- 'exclude_dirs'
|
|
|
|
- 'excluded_dirs'
|
|
|
|
- 'exclude_file'
|
|
|
|
- 'excluded_file'
|
|
|
|
- 'exclude_files'
|
|
|
|
- 'excluded_files'
|
|
|
|
- 'ignore_path'
|
|
|
|
- 'ignored_path'
|
|
|
|
- 'ignore_paths'
|
|
|
|
- 'ignored_paths'
|
|
|
|
- 'ignore_dir'
|
|
|
|
- 'ignored_dir'
|
|
|
|
- 'ignore_dirs'
|
|
|
|
- 'ignored_dirs'
|
|
|
|
- 'ignore_file'
|
|
|
|
- 'ignored_file'
|
|
|
|
- 'ignore_files'
|
|
|
|
- 'ignored_files'
|
|
|
|
- 'skip_path'
|
|
|
|
- 'skip_paths'
|
|
|
|
- 'skip_dir'
|
|
|
|
- 'skip_dirs'
|
|
|
|
- 'skip_file'
|
|
|
|
- 'skip_files'
|
|
|
|
exclude_rectors:
|
|
|
|
- 'exclude_rector'
|
|
|
|
- 'excluded_rector'
|
|
|
|
- 'excluded_rectors'
|
|
|
|
- 'skip_rector'
|
|
|
|
- 'skip_rectors'
|
|
|
|
autoload_paths:
|
|
|
|
# https://regex101.com/r/aXEZYk/1
|
2019-12-01 15:44:28 +01:00
|
|
|
- '#(autolaod|autoload|include|bootstrap)((ed)?_(path(s)?|dir(s)?|file(s)?))?#'
|
2019-11-29 10:26:57 +01:00
|
|
|
auto_import_names:
|
|
|
|
- 'auto_imort_names'
|
|
|
|
- 'auto_names'
|
|
|
|
- 'import_name(space)?(s)?'
|