caviarman/project-lvl2-s349

View on GitHub

Showing 2 of 2 total issues

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

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

    Avoid too many return statements within this method.
    Open

                return [getSpace($level) . "+ $key: $after"];
    Severity: Major
    Found in src/Renderers/Pretty.php - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language