rector/rector.yaml

29 lines
750 B
YAML

services:
Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector: null
# Rector\CodingStyle\Rector\Namespace_\ImportFullyQualifiedNamesRector: null
imports:
- { resource: "create-rector.yaml", ignore_errors: true }
parameters:
paths:
- src
- tests
- rules
- utils
- packages
exclude_paths:
- "/Source/"
- "/*Source/"
- "/Fixture/"
- "/Expected/"
- "packages/Symfony/src/Bridge/DefaultAnalyzedSymfonyApplicationContainer.php"
- "packages/Php/tests/Rector/Name/ReservedObjectRector/*"
# autoload-buggy cases
- "*.php.inc"
# so Rector code is still PHP 7.2 compatible
php_version_features: '7.2'