DmitryLT/project-lvl2-s409

View on GitHub
src/Parser.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

function getNode($key, $beforeValue, $afterValue, $type, $childNodes)
Severity: Minor
Found in src/Parser.php - About 35 mins to fix

    Avoid too many return statements within this method.
    Open

                    return "  + {$status["key"]}: {$status["afterValue"]}";
    Severity: Major
    Found in src/Parser.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

          return "{\n{$fullString}\n}\n";
      Severity: Major
      Found in src/Parser.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return getBeginning($layer) . "  + {$key}: {$after}";
        Severity: Major
        Found in src/Parser.php - About 30 mins to fix

          There are no issues that match your filters.

          Category
          Status