SimplifyMirrorAssignRector

Removes unneeded $value = $value assigns

 function run() {
-    $result = $result;
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\Expression\SimplifyMirrorAssignRector;

return RectorConfig::configure()
    ->withRules([
        SimplifyMirrorAssignRector::class,
    ]);
SETS:  Dead Code