Showing 5 of 5 total issues
Method genDiffAST
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function genDiffAST(array $beforeData, array $afterData) : array
{
$keys = union(
array_keys($beforeData),
array_keys($afterData)
Avoid too many return
statements within this method. Open
Open
return implode(PHP_EOL, $res);
Avoid too many return
statements within this method. Open
Open
return "{$indent} {$item['name']}: {" . PHP_EOL . "{$nested}" . PHP_EOL . "{$indent} }";
Avoid too many return
statements within this method. Open
Open
return $ast;
Avoid too many return
statements within this method. Open
Open
return $ast;