ReplaceFakerPropertyFetchWithMethodCallRector

Replace deprecated faker property fetch with method call

-$faker->name,
+$faker->name(),

Configure your rector.php:

<?php

use RectorLaravel\Rector\PropertyFetch\ReplaceFakerPropertyFetchWithMethodCallRector;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withRules([
        ReplaceFakerPropertyFetchWithMethodCallRector::class,
    ]);