lev0607/php-project-lvl2

View on GitHub
src/formatters/formatPretty.php

Summary

Maintainability
A
1 hr
Test Coverage

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

function parsePretty($diff, $depth = 0)
{
    return array_map(function ($item) use (&$depth) {
        $key = $item['key'];
        $offsets = [
Severity: Minor
Found in src/formatters/formatPretty.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status