yanepenb/Diff-finder

View on GitHub

Showing 2 of 2 total issues

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

function getAst($beforeFile, $afterFile)
{
    $beforeFileData = get_object_vars($beforeFile);
    $afterFileData = get_object_vars($afterFile);

Severity: Minor
Found in src/AstBuilder.php - About 1 hr to fix

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

    function buildNode($key, $beforeValue, $afterValue, $type, $children)
    Severity: Minor
    Found in src/AstBuilder.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language