ava239/php-project-lvl2

View on GitHub
src/Formatters/Plain.php

Summary

Maintainability
A
1 hr
Test Coverage

Method format has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function format(array $diff): string
{
    $format = function ($diff, $prefix = '') use (&$format) {
        return array_map(function ($node) use ($prefix, $format) {
            $fullNodeKey = $prefix . $node['key'];
Severity: Minor
Found in src/Formatters/Plain.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status