ReplaceBlockToItsStmtsRector

Replace Block Stmt with its stmts

-{
-    echo "statement 1";
-    echo PHP_EOL;
-    echo "statement 2";
-}
+echo "statement 1";
+echo PHP_EOL;
+echo "statement 2";

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\Block\ReplaceBlockToItsStmtsRector;

return RectorConfig::configure()
    ->withRules([
        ReplaceBlockToItsStmtsRector::class,
    ]);
SETS:  Dead Code