Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return $doc_comment;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return [self::applyToStatementList($node)];
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return static::astNodeParam(
$n->questionToken !== null,
$n->byRefToken !== null,
$n->dotDotDotToken !== null,
static::phpParserUnionTypeToAstNode($n->typeDeclaration, $n->otherTypeDeclarations, $type_line),
Avoid too many return
statements within this method. Open
Open
return $as_int;
Avoid too many return
statements within this method. Open
Open
return new ast\Node($kind, 0, ['depth' => $breakout_level], $start_line);
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return $results;
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_NAME, $ast_kind, ['name' => $imploded_parts], $start_line);
Avoid too many return
statements within this method. Open
Open
return \intval($text, 8);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_SHELL_EXEC, 0, ['expr' => $inner_node], isset($children[0]) ? self::getStartLine($children[0]) : $start_line);
Avoid too many return
statements within this method. Open
Open
return static::phpParserPropertyToAstNode($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return \count($static_nodes) === 1 ? $static_nodes[0] : $static_nodes;
Avoid too many return
statements within this method. Open
Open
return static::phpParserSwitchListToAstSwitch($n);
Avoid too many return
statements within this method. Open
Open
return static::phpParserThrowToASTThrow($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return $children;
Avoid too many return
statements within this method. Open
Open
return static::phpParserIfStmtToAstIfStmt($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_FOR,
0,
[
'init' => $n->forInitializer !== null ? static::phpParserExprListToExprList($n->forInitializer, $start_line) : null,
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_GOTO, 0, ['label' => static::tokenToString($n->name)], $start_line);