mrDenisZharkov/project-lvl2-s459

View on GitHub
src/formatters/Plain.php

Summary

Maintainability
A
1 hr
Test Coverage

Method renderAstBody has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function renderAstBody(array $ast, $path = '')
{
    $diffPrint = array_reduce($ast, function ($acc, $astNode) use ($path) {
        $key = $astNode['key'];
        $beforeValue = $astNode['beforeValue'];
Severity: Minor
Found in src/formatters/Plain.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status