Phan\Analysis\ReferenceCountsAnalyzer::analyzeElementListReferenceCounts PHP Method

analyzeElementListReferenceCounts() private static method

private static analyzeElementListReferenceCounts ( CodeBase $code_base, Phan\Library\Map | array $element_list, string $issue_type, integer $total_count, integer &$i ) : void
$code_base Phan\CodeBase
$element_list Phan\Library\Map | array
$issue_type string
$total_count integer
$i integer
return void
    private static function analyzeElementListReferenceCounts(CodeBase $code_base, $element_list, string $issue_type, int $total_count, int &$i)
    {
        foreach ($element_list as $element) {
            CLI::progress('dead code', ++$i / $total_count);
            self::analyzeElementReferenceCounts($code_base, $element, $issue_type);
        }
    }