Showing 4 of 4 total issues
Method buildNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function buildNode($key, $beforeValue, $afterValue, $children, $type)
Avoid too many return
statements within this method. Open
Open
return implode("\n", $mapped);
Avoid too many return
statements within this method. Open
Open
return "{$indentChanged}- {$node['key']}: {$formattedBeforeValue}";
Avoid too many return
statements within this method. Open
Open
return "{\n{$result}\n}";