Showing 10 of 10 total issues
Method createNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createNode(string $key, string $type, $oldValue, $newValue, $children = null): array
Avoid too many return
statements within this method. Open
Open
return [];
Avoid too many return
statements within this method. Open
Open
return implode("\n", flattenAll($formatted));
Avoid too many return
statements within this method. Open
Open
return "{$value}";
Avoid too many return
statements within this method. Open
Open
return createNode($key, "unchanged", $firstData->$key, $secondData->$key);
Avoid too many return
statements within this method. Open
Open
return "{$value}";
Avoid too many return
statements within this method. Open
Open
return $differences;
Avoid too many return
statements within this method. Open
Open
return "[{$stringifiedArray}]";
Avoid too many return
statements within this method. Open
Open
return "{$indent} {$node['key']}: {$formattedNewValue}";
Avoid too many return
statements within this method. Open
Open
return "{\n{$formattedString}\n{$indent}}";