Configurable

FuncCallToStaticCallRector

Turn defined function call to static method call

-array_get($array, "key");
+\Illuminate\Support\Arr::get($array, "key");

Configure your rector.php:

<?php

use RectorLaravel\Rector\FuncCall\FuncCallToStaticCallRector;
use RectorLaravel\ValueObject\FuncCallToStaticCall;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withConfiguredRule(FuncCallToStaticCallRector::class, [
        new FuncCallToStaticCall('array_get', 'Illuminate\Support\Arr', 'get'),
    ]);