Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return [];
Avoid too many return
statements within this method. Open
Open
return (float)$text;
Avoid too many return
statements within this method. Open
Open
return self::normalizeIfStatement($node);
Avoid too many return
statements within this method. Open
Open
return self::isExpressionWithoutSideEffects($node->children['class']);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_NAME,
flags\NAME_NOT_FQ,
['name' => static::tokenToString($n->children)],
$start_line
Avoid too many return
statements within this method. Open
Open
return \octdec(substr($text, 0, \strcspn($text, '89')));
Avoid too many return
statements within this method. Open
Open
return static::astStmtDeclare(
static::phpParserDeclareListToAstDeclares($directive, $start_line, $doc_comment),
$n->statements !== null ? static::phpParserStmtlistToAstNode($n->statements, $start_line, true) : null,
$start_line
);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_RETURN, 0, ['expr' => $expr_node], $start_line);
Avoid too many return
statements within this method. Open
Open
return [$label, $statement];
Avoid too many return
statements within this method. Open
Open
return \bindec($text);
Avoid too many return
statements within this method. Open
Open
return static::astStmtClass(
flags\CLASS_TRAIT,
static::tokenToString($n->name),
null,
null,
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_DO_WHILE,
0,
[
'stmts' => static::phpParserStmtlistToAstNode($n->statement, $start_line, false),
Avoid too many return
statements within this method. Open
Open
return static::astDeclFunction(
$n->byRefToken !== null,
static::tokenToString($name),
static::phpParserParamsToAstParams($n->parameters, $start_line),
$ast_return_type,
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_TRAIT_PRECEDENCE, 0, $children, $start_line);
Avoid too many return
statements within this method. Open
Open
return static::astNodeWhile(
static::phpParserNodeToAstNode($n->expression),
// @phan-suppress-next-line PhanTypeMismatchArgumentNullable return_null_on_empty is false.
static::phpParserStmtlistToAstNode($n->statements, $start_line, false),
$start_line
Avoid too many return
statements within this method. Open
Open
return $statement;
Avoid too many return
statements within this method. Open
Open
return $inner_node;
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 new ast\Node(
ast\AST_USE_TRAIT,
0,
[
'traits' => static::phpParserNameListToAstNameList($n->traitNameList->children ?? [], $start_line),
Avoid too many return
statements within this method. Open
Open
return null;