NewlineAfterStatementRector

Add empty new line after different-type statements to improve code readability

 class SomeClass
 {
     public function run($input)
     {
         $value = 5 * $input;
+
         $secondValue = $value ^ 5;
+
         return $value - $secondValue;
     }
 }

Configure your rector.php:

<?php

use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withRules([
        NewlineAfterStatementRector::class,
    ]);
SETS:  Coding Style