Showing 6 of 6 total issues
Method buildNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function buildNode($key, $type, $oldValue = null, $newValue = null, $children = [])
Avoid too many return
statements within this method. Open
Open
return implode("\n", $newTree);
Avoid too many return
statements within this method. Open
Open
return sprintf("{\n %s %s: %s\n%s }", $indent, $key, $tree->$key, $indent);
Avoid too many return
statements within this method. Open
Open
return implode("\n", $result);
Avoid too many return
statements within this method. Open
Open
return bringNodeToString($indent, ' ', $v['key'], stringify($v['oldValue'], $indent));
Avoid too many return
statements within this method. Open
Open
return implode($values);