The README.md in rector-symfony refers to the old Rector\Symfony\Set\SymfonySetList.
In contrast, the README.md of the package rector/rector-doctrine already contains a revised note:
To add a set to your config, use ->withPreparedSets method, and pick one of constants:
...
If you're on PHP 7.x, you can use withSets() instead, for doctrineCodeQuality set, so you can define:
...