kulikov98/project-lvl2-s459

View on GitHub
src/Ast.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method genDiffAST has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function genDiffAST(array $beforeData, array $afterData) : array
{
    $keys = union(
        array_keys($beforeData),
        array_keys($afterData)
Severity: Minor
Found in src/Ast.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

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

      Avoid too many return statements within this method.
      Open

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

        There are no issues that match your filters.

        Category
        Status