GroupSequenceValueKeyToListRector

Pass groups directly to GroupSequence instead of an associative array with "value" key

 use Symfony\Component\Validator\Constraints\GroupSequence;

-$groupSequence = new GroupSequence(['value' => ['group 1', 'group 2']]);
+$groupSequence = new GroupSequence(['group 1', 'group 2']);

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Symfony\Symfony80\Rector\New_\GroupSequenceValueKeyToListRector;

return RectorConfig::configure()
    ->withRules([
        GroupSequenceValueKeyToListRector::class,
    ]);
PACKAGE:  symfony/validator >=7.4

Other rules in the symfony/validator set