IsAWithStringWithThirdArgumentRector

Complete missing 3rd argument in case is_a() function in case of strings

 class SomeClass
 {
     public function __construct(string $value)
     {
-        return is_a($value, 'stdClass');
+        return is_a($value, 'stdClass', true);
     }
 }

Configure your rector.php:

<?php

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

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