rector/rector.yaml
2019-10-17 18:48:03 +02:00

23 lines
727 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\CodeQuality\Rector\FuncCall\AddPregQuoteDelimiterRector: ~
# Rector\PHPUnit\Rector\ClassMethod\AddDoesNotPerformAssertionToNonAssertingTestRector: ~