Rustem-A/php-project-lvl2

View on GitHub

Showing 1 of 1 total issue

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

function genDiff(array $fileBefore, array $fileAfter): array
{
      // Создаем узел из которых формируется предварительный массив
    $makeNode = function ($status, $key, $beforeValue, $afterValue, $children): array {
        return [
Severity: Minor
Found in src/genDiff.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language