unwrap sprintf() with one argument
-echo sprintf('value');
+echo 'value';
Configure your rector.php
:
<?php
use Rector\CodeQuality\Rector\FuncCall\UnwrapSprintfOneArgumentRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withRules([
UnwrapSprintfOneArgumentRector::class,
]);