MaxSmakov/project-lvl2-s189

View on GitHub
src/reports.php

Summary

Maintainability
A
1 hr
Test Coverage

Method prettyReport has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function prettyReport($arr)
{
    $iter = function ($arr, $level) use (&$iter) {
        return array_map(function ($item) use ($level, $iter) {
            switch ($item['type']) {
Severity: Minor
Found in src/reports.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status