ClassOnThisVariableObjectRector

Change $this::class to static::class or self::class depends on class modifier

 class SomeClass
 {
     public function run()
     {
-        return $this::class;
+        return static::class;
     }
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php80\Rector\ClassConstFetch\ClassOnThisVariableObjectRector;

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