Find the best Rector rule to solve your problem. Searching through 775 rules.

Found 2 rules:

RemoveOverrideFinalConstructTestCaseRector

Remove override final construct test case

 use PHPUnit\Framework\TestCase;

 final class SomeClass extends TestCase
 {
-    public function __construct()
-    {
-        parent::__construct(static::class);
-    }
 }

AssertIsTypeMethodCallRector

Replaces Assert::isType() calls with type-specific Assert::is*() calls

 use PHPUnit\Framework\TestCase;

 final class SomeClass extends TestCase
 {
     public function testMethod(): void
     {
-        $this->assertThat([], $this->isType('array'));
+        $this->assertThat([], $this->isArray());
     }
 }