RemovePhpVersionIdCheckRector

Remove unneeded PHP_VERSION_ID conditional checks

 class SomeClass
 {
     public function run()
     {
-        if (PHP_VERSION_ID < 80000) {
-            return;
-        }
-
         echo 'do something';
     }
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\ConstFetch\RemovePhpVersionIdCheckRector;

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