src/BuildAst.php
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 createNode($key, 'unchanged', $firstData->$key, null, null);
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, 'changed', $firstData->$key, $secondData->$key, null);