Simplify $value = $value + 5; assignments to shorter ones
-$value = $value + 5;
+$value += 5;
Configure your rector.php
:
<?php
use Rector\CodeQuality\Rector\Assign\CombinedAssignRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withRules([
CombinedAssignRector::class,
]);