Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return $expr;
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_CLONE, 0, ['expr' => static::phpParserNodeToAstNode($n->expression)], $start_line);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'return %s;',
self::toShortString($node->children['expr'])
);
Avoid too many return
statements within this method. Open
Open
return $visitor->visitClassAnonymous($this->node);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_CAST,
$ast_kind,
['expr' => static::phpParserNodeToAstNode($n->operand)],
static::getEndLine($n) ?: $start_line
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_NAME, flags\NAME_NOT_FQ, ['name' => $str], $start_line);
Avoid too many return
statements within this method. Open
Open
return static::astNodeCall(
static::phpParserNonValueNodeToAstNode($callable_expression),
$arg_list,
$start_line
);
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return $visitor->visitUnionTypeStatic($this->node);
Avoid too many return
statements within this method. Open
Open
return StaticType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return UnionType::empty();
Avoid too many return
statements within this method. Open
Open
return $parent_type_option->get()->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return static::phpParserClassConstFetchToAstClassConstFetch($n->scopeResolutionQualifier, $member_name, $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 static::phpParserNodeToAstNode($n->expression);
Avoid too many return
statements within this method. Open
Open
return static::astStmtClass(
static::phpParserClassModifierToAstClassFlags($n->abstractOrFinalModifier),
static::tokenToString($n->name),
$base_class !== null ? static::phpParserNonValueNodeToAstNode($base_class) : null,
$n->classInterfaceClause,
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return $label;
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_FOREACH,
0,
[
'expr' => static::phpParserNodeToAstNode($n->forEachCollectionName),
Avoid too many return
statements within this method. Open
Open
return static::phpParserStmtlistToAstNode($n->compoundStatement, $start_line, false);