src/Formatters/plain.php
Method format
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function format($ast)
{
$inner = function ($innerData, $nameGroup) use (&$inner) {
$mapper = function ($child) use ($nameGroup, $inner) {
Avoid too many return
statements within this method. Open
Open
return join("\n", $filtered);
Avoid too many return
statements within this method. Open
Open
return $inner($child['children'], "{$child['name']}.");
Avoid too many return
statements within this method. Open
Open
return $inner($ast, null);