RemoveRedundantValueCallsRector

Removes redundant value helper calls

-value(new Object())->something();
+(new Object())->something();

Configure your rector.php:

<?php

use RectorLaravel\Rector\FuncCall\RemoveRedundantValueCallsRector;
use Rector\Config\RectorConfig;

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