We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c884a6 commit 2f8390aCopy full SHA for 2f8390a
1 file changed
rector.php
@@ -11,6 +11,7 @@
11
* @see https://github.com/ergebnis/version-constraint
12
*/
13
14
+use Ergebnis\Rector;
15
use Rector\Config;
16
use Rector\Php81;
17
use Rector\PHPUnit;
@@ -19,8 +20,6 @@
19
20
return static function (Config\RectorConfig $rectorConfig): void {
21
$rectorConfig->cacheDirectory(__DIR__ . '/.build/rector/');
22
- $rectorConfig->import(__DIR__ . '/vendor/fakerphp/faker/rector-migrate.php');
23
-
24
$rectorConfig->paths([
25
__DIR__ . '/src/',
26
__DIR__ . '/test/',
@@ -30,6 +29,7 @@
30
29
31
$rectorConfig->rules([
32
Php81\Rector\Property\ReadOnlyPropertyRector::class,
+ Rector\Rules\Faker\GeneratorPropertyFetchToMethodCallRector::class,
33
]);
34
35
$rectorConfig->sets([
0 commit comments