Showing 9 of 9 total issues
Method createNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createNode($name, $type, $oldValue, $newValue, $children)
Avoid too many return
statements within this method. Open
Open
return implode("\n", $diffList);
Avoid too many return
statements within this method. Open
Open
return implode("\n", $diffList);
Avoid too many return
statements within this method. Open
Open
return createNode($key, 'changed', $firstData->$key, $secondData->$key, null);
Avoid too many return
statements within this method. Open
Open
return "$space {$node['name']}: {\n$children\n$space }";
Avoid too many return
statements within this method. Open
Open
return $astTree;
Avoid too many return
statements within this method. Open
Open
return createNode($key, 'unchanged', $firstData->$key, null, null);
Avoid too many return
statements within this method. Open
Open
return ;
Avoid too many return
statements within this method. Open
Open
return "{\n{$result}\n$space }";