RemoveReferenceFromCallRector

Remove & from function and method calls

 final class SomeClass
 {
     public function run($one)
     {
-        return strlen(&$one);
+        return strlen($one);
     }
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php54\Rector\FuncCall\RemoveReferenceFromCallRector;

return RectorConfig::configure()
    ->withRules([
        RemoveReferenceFromCallRector::class,
    ]);
SETS:  PHP 5.4