Replace deprecated ${var} to {$var}
$c = "football";
-echo "I like playing ${c}";
+echo "I like playing {$c}";
Configure your rector.php:
<?php
use Rector\Config\RectorConfig;
use Rector\Php82\Rector\Encapsed\VariableInStringInterpolationFixerRector;
return RectorConfig::configure()
->withRules([
VariableInStringInterpolationFixerRector::class,
]);