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/"
|
2019-09-15 15:55:12 +02:00
|
|
|
- "packages/Symfony/src/Bridge/DefaultAnalyzedSymfonyApplicationContainer.php"
|
|
|
|
- "src/Testing/PHPUnit/AbstractRectorTestCase.php"
|
2019-05-26 14:43:20 +02:00
|
|
|
|
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'
|
2019-04-17 17:04:29 +02:00
|
|
|
|
|
|
|
services:
|
2019-09-12 01:02:48 +02:00
|
|
|
Rector\PHPUnit\Rector\Class_\ArrayArgumentInTestToDataProviderRector:
|
|
|
|
$configuration:
|
|
|
|
-
|
|
|
|
class: 'PHPUnit\Framework\TestCase'
|
2019-09-15 15:55:12 +02:00
|
|
|
old_method: 'doTestFilesWithoutAutoload'
|
|
|
|
new_method: 'doTestFileWithoutAutoload'
|
2019-09-12 01:02:48 +02:00
|
|
|
variable_name: 'file'
|