Showing 5 of 5 total issues
Method genNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function genNode($key, $type, $valueBefore, $valueAfter, $children = null)
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return genNode($key, 'changed', $data1[$key], $data2[$key]);
Avoid too many return
statements within this method. Open
Open
return "{\n" . implode("\n", $result) . "\n{$indent}}";
Avoid too many return
statements within this method. Open
Open
return "{$indent} {$node['key']}: {$value}{$indent}";