rector/rector.yaml

22 lines
653 B
YAML

parameters:
# see https://github.com/rectorphp/rector/pull/2052
auto_import_names: true
exclude_paths:
- "/Fixture/"
- "/Fixtures/"
- "/Expected/"
- "/Source/"
- "packages/Symfony/src/Bridge/DefaultAnalyzedSymfonyApplicationContainer.php"
- "src/Testing/PHPUnit/AbstractRectorTestCase.php"
- "packages/Php/tests/Rector/Name/ReservedObjectRector/*"
# autoload-buggy cases
- "*.php.inc"
# so Rector code is still PHP 7.1 compatible
php_version_features: '7.1'
services:
Rector\SOLID\Rector\ClassMethod\UseInterfaceOverImplementationInConstructorRector: ~