GetHeadersArgumentFormatRector

Change the integer associative argument of the get_headers() function to a boolean

-get_headers($url, 1);
+get_headers($url, true);

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php80\Rector\FuncCall\GetHeadersArgumentFormatRector;

return RectorConfig::configure()
    ->withRules([
        GetHeadersArgumentFormatRector::class,
    ]);

Other rules in the PHP 8.0 set