orion122/diff-finder

View on GitHub
src/output/pretty.php

Summary

Maintainability
A
1 hr
Test Coverage

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

function buildLine($isNested, $mark, $key, $value, $depth)
Severity: Minor
Found in src/output/pretty.php - About 35 mins to fix

    Avoid too many return statements within this method.
    Open

                    return buildLine(false, "+", $array['key'], $array['from'], $depth);
    Severity: Major
    Found in src/output/pretty.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

          return implode('', flattenAll($result));
      Severity: Major
      Found in src/output/pretty.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status