rector/rector.yaml
2019-05-11 12:56:13 +02:00

20 lines
793 B
YAML

parameters:
exclude_paths:
- "/Fixture/"
- "/Fixtures/"
- "/Expected/"
- "/Source/"
# autoload-buggy cases
- "*.php.inc"
# string might not exist for SplitStringClassConstantToClassConstFetchRector
- "packages/Symfony/src/Rector/Console/ConsoleExceptionToErrorEventConstantRector.php"
- "tests/Rector/Argument/ArgumentRemoverRector/ArgumentRemoverRectorTest.php"
- "tests/Rector/Argument/ArgumentDefaultValueReplacerRector/ArgumentDefaultValueReplacerRectorTest.php"
# so Rector code is still PHP 7.1 compatible
php_version_features: '7.1'
services:
Rector\CodingStyle\Rector\Namespace_\ImportFullyQualifiedNamesRector: ~
# Rector\TypeDeclaration\Rector\Closure\AddClosureReturnTypeRector: ~