Showing 4 of 5 total issues
Method plain
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function plain(object $AST): string{ $iter = function (object $AST, string $path) use (&$iter): array { return array_map(function ($node) use ($iter, $path): array|string {
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return (object) $AST;
Avoid too many return
statements within this method. Open
Open
return makeNode('changed', $key, $value1, $value2);