StaticToSelfStaticMethodCallOnFinalClassRector

Change static::methodCall() to self::methodCall() on final class

 final class SomeClass
 {
     public function d()
     {
-        echo static::run();
+        echo self::run();
     }

     private static function run()
     {
         echo 'test';
     }
 }

Configure your rector.php:

<?php

use Rector\CodeQuality\Rector\Class_\StaticToSelfStaticMethodCallOnFinalClassRector;
use Rector\Config\RectorConfig;

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