Skip to content

Commit 2f8390a

Browse files
committed
Enhancement: Enable GeneratorPropertyFetchToMethodCallRector
1 parent 5c884a6 commit 2f8390a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* @see https://github.com/ergebnis/version-constraint
1212
*/
1313

14+
use Ergebnis\Rector;
1415
use Rector\Config;
1516
use Rector\Php81;
1617
use Rector\PHPUnit;
@@ -19,8 +20,6 @@
1920
return static function (Config\RectorConfig $rectorConfig): void {
2021
$rectorConfig->cacheDirectory(__DIR__ . '/.build/rector/');
2122

22-
$rectorConfig->import(__DIR__ . '/vendor/fakerphp/faker/rector-migrate.php');
23-
2423
$rectorConfig->paths([
2524
__DIR__ . '/src/',
2625
__DIR__ . '/test/',
@@ -30,6 +29,7 @@
3029

3130
$rectorConfig->rules([
3231
Php81\Rector\Property\ReadOnlyPropertyRector::class,
32+
Rector\Rules\Faker\GeneratorPropertyFetchToMethodCallRector::class,
3333
]);
3434

3535
$rectorConfig->sets([

0 commit comments

Comments
 (0)