OptionNameRector

Turns old option names to new ones in FormTypes in Form in Symfony

 $builder = new FormBuilder;
-$builder->add("...", ["precision" => "...", "virtual" => "..."];
+$builder->add("...", ["scale" => "...", "inherit_data" => "..."];

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Symfony\Symfony30\Rector\MethodCall\OptionNameRector;

return RectorConfig::configure()
    ->withRules([
        OptionNameRector::class,
    ]);
SETS:  symfony/* 3.0