InlineIsAInstanceOfRector

Change is_a() with object and class name check to instanceof

 class SomeClass
 {
     public function run(object $object)
     {
-        return is_a($object, SomeType::class);
+        return $object instanceof SomeType;
     }
 }

Configure your rector.php:

<?php

use Rector\CodeQuality\Rector\FuncCall\InlineIsAInstanceOfRector;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withRules([
        InlineIsAInstanceOfRector::class,
    ]);