PreferTestsWithCamelCaseRector

Changes PHPUnit test methods to camel case

 use PHPUnit\Framework\TestCase;

 final class SomeClass extends TestCase
 {
-    public function test_something()
+    public function testSomething()
     {
     }
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferTestsWithCamelCaseRector;

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