mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
34 lines
743 B
YAML
34 lines
743 B
YAML
imports:
|
|
- { resource: "create-rector.yaml", ignore_errors: 'not_found' }
|
|
|
|
services:
|
|
Rector\Core\Rector\ClassMethod\ChangeContractMethodSingleToManyRector:
|
|
$oldToNewMethodByType:
|
|
Rector\BetterPhpDocParser\Contract\PhpDocNodeFactoryInterface:
|
|
getClass: 'getClasses'
|
|
|
|
parameters:
|
|
# bleeding edge feature
|
|
is_cache_enabled: true
|
|
|
|
auto_import_names: true
|
|
|
|
paths:
|
|
- src
|
|
- tests
|
|
- rules
|
|
- utils
|
|
- packages
|
|
|
|
exclude_paths:
|
|
- "/Source/"
|
|
- "/*Source/"
|
|
- "/Fixture/"
|
|
- "/Expected/"
|
|
|
|
# autoload-buggy cases
|
|
- "*.php.inc"
|
|
|
|
# so Rector code is still PHP 7.2 compatible
|
|
php_version_features: '7.2'
|