Skip to content

Commit 6ea7a01

Browse files
committed
Enhancement: Configure Ergebnis\PHPUnit\SlowTestDetector as parent namespace prefix for ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector
1 parent 5931065 commit 6ea7a01

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

rector.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* @see https://github.com/ergebnis/phpunit-slow-test-detector
1212
*/
1313

14+
use Ergebnis\Rector;
1415
use Rector\Config;
1516
use Rector\ValueObject;
1617

@@ -25,4 +26,10 @@
2526
]);
2627

2728
$rectorConfig->phpVersion(ValueObject\PhpVersion::PHP_70);
29+
30+
$rectorConfig->ruleWithConfiguration(Rector\Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector::class, [
31+
'parentNamespacePrefixes' => [
32+
'Ergebnis\PHPUnit\SlowTestDetector',
33+
],
34+
]);
2835
};

0 commit comments

Comments
 (0)