HebrevcToNl2brHebrevRector

Change hebrevc($str) to nl2br(hebrev($str))

-hebrevc($str);
+nl2br(hebrev($str));

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php74\Rector\FuncCall\HebrevcToNl2brHebrevRector;

return RectorConfig::configure()
    ->withRules([
        HebrevcToNl2brHebrevRector::class,
    ]);
SETS:  PHP 7.4