Find the best Rector rule to solve your problem
Turns method names to new ones.
$someObject = new SomeExampleClass;
-$someObject->oldMethod();
+$someObject->newMethod();
Rename attribute class names
-#[SimpleRoute()]
+#[BasicRoute()]
class SomeClass
{
}