GetCalledClassToStaticClassRector

Change get_called_class() to static::class on non-final class

 class SomeClass
 {
    public function callOnMe()
    {
-       var_dump(get_called_class());
+       var_dump(static::class);
    }
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php55\Rector\FuncCall\GetCalledClassToStaticClassRector;

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