digipolisgent/drupal-copy-profile

View on GitHub

Showing 4 of 4 total issues

Method getRecursiveIteratorIterator has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

private function getRecursiveIteratorIterator($exclude = [])
{
/**
* Filters based on the given $exclude array, filters out directories with
* the names in that array.
Severity: Minor
Found in src/Handler.php - About 1 hr to fix

    Missing class import via use statement (line '264', column '30').
    Open

    $innerIterator = new \RecursiveDirectoryIterator(
    Severity: Minor
    Found in src/Handler.php by phpmd

    Missing class import via use statement (line '270', column '17').
    Open

    new \RecursiveCallbackFilterIterator($innerIterator, $filter),
    Severity: Minor
    Found in src/Handler.php by phpmd

    Missing class import via use statement (line '269', column '25').
    Open

    $iterator = new \RecursiveIteratorIterator(
    Severity: Minor
    Found in src/Handler.php by phpmd
    Severity
    Category
    Status
    Source
    Language