Convert setcookie argument to PHP7.3 option array
-setcookie('name', $value, 360);
+setcookie('name', $value, ['expires' => 360]);
Configure your rector.php
:
<?php
use Rector\Config\RectorConfig;
use Rector\Php73\Rector\FuncCall\SetCookieRector;
return RectorConfig::configure()
->withRules([
SetCookieRector::class,
]);