bitslip6/bitfire

View on GitHub
recovery.php

Summary

Maintainability
A
35 mins
Test Coverage

Method file_recurse has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function file_recurse(string $dirname, string $include_regex_filter = NULL, string $exclude_regex_filter = NULL, $max_files = 20000, bool $recurse = true) : \Generator {
Severity: Minor
Found in recovery.php - About 35 mins to fix

    Possibly zero references to use statement for classlike/namespace Effect (\ThreadFin\Effect)
    Open

    use ThreadFin\Effect;
    Severity: Minor
    Found in recovery.php by phan

    Possibly zero references to use statement for constant WAF_SRC (\BitFire\WAF_SRC)
    Open

    use const BitFire\WAF_SRC;
    Severity: Minor
    Found in recovery.php by phan

    Variable $archive is undeclared
    Open

    print_r($archive);
    Severity: Minor
    Found in recovery.php by phan

    Possibly zero references to use statement for classlike/namespace FileData (\ThreadFin\FileData)
    Open

    use ThreadFin\FileData;
    Severity: Minor
    Found in recovery.php by phan

    There are no issues that match your filters.

    Category
    Status