src/Differ.php
Method makeNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function makeNode(string $name, string $type, $oldValue = null, $newValue = null, array $children = [])
Avoid too many return
statements within this method. Open
Open
return makeNode($key, TYPE_CHANGED, $structure1->$key, $structure2->$key);
Avoid too many return
statements within this method. Open
Open
return $tree;