nikitovskij/php-gendiff

View on GitHub
src/Formatters/Plain.php

Summary

Maintainability
A
1 hr
Test Coverage
A
97%

Method makePlainOutput has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function makePlainOutput(array $tree): array
{
    $format = function ($tree, $ancestorPath = []) use (&$format) {
        return array_map(function ($node) use (&$format, $ancestorPath) {
            [
Severity: Minor
Found in src/Formatters/Plain.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status