rector/rector.yaml

24 lines
728 B
YAML
Raw Normal View History

2019-03-31 23:20:51 +02:00
parameters:
exclude_paths:
2019-04-29 06:09:00 +02:00
- "/Fixture/"
2019-03-31 23:20:51 +02:00
- "/Fixtures/"
2019-04-29 06:18:05 +02:00
- "/Expected/"
2019-04-29 06:09:00 +02:00
- "/Source/"
- "packages/Symfony/src/Bridge/DefaultAnalyzedSymfonyApplicationContainer.php"
- "src/Testing/PHPUnit/AbstractRectorTestCase.php"
2019-03-31 23:20:51 +02:00
# autoload-buggy cases
- "*.php.inc"
# so Rector code is still PHP 7.1 compatible
php_version_features: '7.1'
services:
Rector\PHPUnit\Rector\Class_\ArrayArgumentInTestToDataProviderRector:
$configuration:
-
class: 'PHPUnit\Framework\TestCase'
old_method: 'doTestFilesWithoutAutoload'
new_method: 'doTestFileWithoutAutoload'
variable_name: 'file'