Mariya1316/project-lvl2-s459

View on GitHub
src/Ast.php

Summary

Maintainability
A
1 hr
Test Coverage

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

function genNode($key, $type, $valueBefore, $valueAfter, $children = null)
Severity: Minor
Found in src/Ast.php - About 35 mins to fix

    Avoid too many return statements within this method.
    Open

        return $result;
    Severity: Major
    Found in src/Ast.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return genNode($key, 'changed', $data1[$key], $data2[$key]);
      Severity: Major
      Found in src/Ast.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status