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

Found 1 rule. That's the one: Clear

drupal/core 10.0 1 match

PHPUnit based tests should call parent methods (setUp, tearDown)

 namespace Drupal\Tests\Rector\Deprecation\PHPUnit\ShouldCallParentMethodsRector\fixture;

 use Drupal\KernelTests\KernelTestBase;

 final class SetupVoidTest extends KernelTestBase {

     protected function setUp(): void
     {
+        parent::setUp();
         $test = 'doing things';
     }

     protected function tearDown(): void
     {
+        parent::tearDown();
         $test = 'doing things';
     }

 }