Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return static::astStmtCatch(
$catch_list_node,
$variableName !== null ? static::variableTokenToString($variableName) : null,
// @phan-suppress-next-line PhanTypeMismatchArgumentNullable return_null_on_empty is false.
static::phpParserStmtlistToAstNode($n->compoundStatement, $start_line, false),
Avoid too many return
statements within this method. Open
Open
return \count($ast_echos) === 1 ? $ast_echos[0] : $ast_echos;
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return \count($global_nodes) === 1 ? $global_nodes[0] : $global_nodes;
Avoid too many return
statements within this method. Open
Open
return []; // For the beginning/end of files
Avoid too many return
statements within this method. Open
Open
return $closures;
Avoid too many return
statements within this method. Open
Open
return null;
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);